{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\kamcd\Dropbox\CDK WORK\racial disparities essentialism\JOP replication files\Anoll Kam Marcellin Bovitz Analyses.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}10 Jan 2025, 13:39:49
{txt}
{com}. 
. /*Cleaning the data*/
. clear
{txt}
{com}. cd "C:\Users\kamcd\Dropbox\CDK WORK\racial disparities essentialism\JOP replication files\"
{res}C:\Users\kamcd\Dropbox\CDK WORK\racial disparities essentialism\JOP replication files
{txt}
{com}. 
. use "Anoll Kam Marcellin Bovitz June 2022 Survey.dta"
{txt}
{com}. 
. gen newdate = dofc(StartDate)
{txt}
{com}. gen double newtime = hh(StartDate)
{txt}
{com}. 
. //Dropping test data 
. drop if newdate<22816
{txt}(2 observations deleted)

{com}. drop if newdate==22816 & newtime==10
{txt}(1 observation deleted)

{com}. 
. //Removing those who have not consented
. drop if agree~=1
{txt}(20 observations deleted)

{com}. 
. //Removing those under 18
. gen ageyears = age
{txt}(7 missing values generated)

{com}. destring ageyears, force replace
{txt}ageyears: contains nonnumeric characters; {res}replaced {txt}as {res}int
{txt}(9 missing values generated)
{res}{txt}
{com}. drop if ageyears<18 | ageyears>105
{txt}(15 observations deleted)

{com}. sum ageyears

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}ageyears {c |}{res}      3,617    46.44954    15.57761         18         99
{txt}
{com}. 
. //Keeping those who pass the attention check
. keep if check_closeread_4==1 & check_closeread_5==1
{txt}(637 observations deleted)

{com}. 
. //Take the first respondent of those with duplicate IP addresses
. duplicates tag IPAddress, gen(dupIP)

{p 0 4}{txt}Duplicates in terms of {res} IPAddress{p_end}
{txt}
{com}. egen IPdups = group(IPAddress) if dupIP>0
{txt}(2,863 missing values generated)

{com}. egen rank = rank(StartDate), track
{txt}
{com}. bysort IPdups: egen firstrank = min(rank)
{txt}
{com}. drop if firstrank~=rank & dupIP>0
{txt}(61 observations deleted)

{com}. 
. //Sample characteristics
. //We ordered 900 White Dems, 900 White Reps, 900 Blacks
. //Race
. gen White = .
{txt}(2,919 missing values generated)

{com}. replace White = 1 if race_5==1
{txt}(1,941 real changes made)

{com}. replace White = 0 if race_1==1 | race_2==1|race_3==1|race_4==1|race_6==1
{txt}(1,044 real changes made)

{com}. tab White

      {txt}White {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,044       36.17       36.17
{txt}          1 {c |}{res}      1,842       63.83      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,886      100.00
{txt}
{com}. 
. gen Black = .
{txt}(2,919 missing values generated)

{com}. replace Black = 1 if race_3==1
{txt}(968 real changes made)

{com}. replace Black = 0 if race_1==1 | race_2==1|race_4==1|race_5==1|race_6==1
{txt}(1,992 real changes made)

{com}. 
. gen race = 0
{txt}
{com}. replace race = 1 if White==1
{txt}(1,842 real changes made)

{com}. replace race = 2 if Black==1
{txt}(894 real changes made)

{com}. lab def race 0"Other" 1"White" 2"Black"
{txt}
{com}. lab val race race
{txt}
{com}. 
. //Party
. gen REP = 0
{txt}
{com}. replace REP = 1 if strong_rep==1|strong_rep==2|lean==1
{txt}(996 real changes made)

{com}. gen DEM = 0
{txt}
{com}. replace DEM = 1 if strong_dem==1|strong_dem==2|lean==2
{txt}(1,632 real changes made)

{com}. tab1 REP DEM

{res}-> tabulation of REP  

        {txt}REP {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,923       65.88       65.88
{txt}          1 {c |}{res}        996       34.12      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,919      100.00

-> tabulation of DEM  

        {txt}DEM {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,287       44.09       44.09
{txt}          1 {c |}{res}      1,632       55.91      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,919      100.00
{txt}
{com}. 
. gen pid3cat = .
{txt}(2,919 missing values generated)

{com}. replace pid3cat = 0 if REP==1
{txt}(996 real changes made)

{com}. replace pid3cat = 1 if DEM==1
{txt}(1,632 real changes made)

{com}. replace pid3cat = .5 if lean==3
{txt}(249 real changes made)

{com}. tab pid3cat

    {txt}pid3cat {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        996       34.62       34.62
{txt}         .5 {c |}{res}        249        8.65       43.27
{txt}          1 {c |}{res}      1,632       56.73      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,877      100.00
{txt}
{com}. lab def pid3cat 0 "REP" 1 "DEM"
{txt}
{com}. lab val pid3cat pid3cat
{txt}
{com}. tab pid3cat race

           {txt}{c |}               race
   pid3cat {c |}     Other      White      Black {c |}     Total
{hline 11}{c +}{hline 33}{c +}{hline 10}
       REP {c |}{res}        44        883         69 {txt}{c |}{res}       996 
{txt}        .5 {c |}{res}        25         66        158 {txt}{c |}{res}       249 
{txt}       DEM {c |}{res}        81        888        663 {txt}{c |}{res}     1,632 
{txt}{hline 11}{c +}{hline 33}{c +}{hline 10}
     Total {c |}{res}       150      1,837        890 {txt}{c |}{res}     2,877 
{txt}
{com}. 
. //Finalizing sample
. keep if (White==1 & REP==1)|(White==1 & DEM==1)|(Black==1)
{txt}(254 observations deleted)

{com}. gen samplegroups = .
{txt}(2,665 missing values generated)

{com}. replace samplegroups = 1 if White==1 & REP==1
{txt}(883 real changes made)

{com}. replace samplegroups = 2 if White==1 & DEM==1
{txt}(888 real changes made)

{com}. replace samplegroups = 3 if Black==1
{txt}(894 real changes made)

{com}. lab def samplegroups 1"White REP" 2"White DEM" 3"Black"
{txt}
{com}. lab val samplegroups samplegroups
{txt}
{com}. tab samplegroups

{txt}samplegroup {c |}
          s {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
  White REP {c |}{res}        883       33.13       33.13
{txt}  White DEM {c |}{res}        888       33.32       66.45
{txt}      Black {c |}{res}        894       33.55      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,665      100.00
{txt}
{com}. 
. /*Treatment*/
. gen expcond = .
{txt}(2,665 missing values generated)

{com}. replace expcond = 1 if treatment =="gene"
{txt}(879 real changes made)

{com}. replace expcond = 2 if treatment =="neutral"
{txt}(894 real changes made)

{com}. replace expcond = 3 if treatment =="ses"
{txt}(892 real changes made)

{com}. lab def expcond 1 "Genetic Frame" 2"Neutral" 3"SES Frame"
{txt}
{com}. lab val expcond expcond
{txt}
{com}. 
. recode expcond (1=1)(2 3=0)(else=.), gen(genecond)
{txt}(1,786 differences between {bf:expcond} and {bf:genecond})

{com}. recode expcond (3=1)(1 2=0)(else=.), gen(sescond)
{txt}(2,665 differences between {bf:expcond} and {bf:sescond})

{com}. lab var genecond "Genetic Framing"
{txt}
{com}. lab var sescond "SES Framing"
{txt}
{com}. 
. 
. //MANIPULATION CHECK//
. //open-ends (check_article)
. //any appearance of gene/genetic/genetics
. //vs. any appearance of socioeconomic/SES/socio/econ
. gen comment_lower = lower(check_article)
{txt}(12 missing values generated)

{com}. *replace period and commas with space
. replace comment_lower = subinstr(comment_lower, ".", " ",.)
{txt}(1,341 real changes made)

{com}. replace comment_lower = subinstr(comment_lower, ",", " ",.)
{txt}(276 real changes made)

{com}. set more off
{txt}
{com}. foreach word in gene genes heredity inherit genetic genetics genetically counseling biology  {c -(}
{txt}  2{com}. gen `word'=1 if strpos(comment_lower," `word' ")>0
{txt}  3{com}. {c )-}
{txt}(2,654 missing values generated)
(2,645 missing values generated)
(2,665 missing values generated)
(2,663 missing values generated)
(2,406 missing values generated)
(2,538 missing values generated)
(2,614 missing values generated)
(2,632 missing values generated)
(2,664 missing values generated)

{com}. egen anygeneopen=anymatch(gene-biology), val(1)
{res}{txt}
{com}. tab anygeneopen expcond, col chi2
{txt}
{c TLC}{hline 19}{c TRC}
{c |} Key{col 21}{c |}
{c LT}{hline 19}{c RT}
{c |}{space 5}{it:frequency}{col 21}{c |}
{c |}{space 1}{it:column percentage}{col 21}{c |}
{c BLC}{hline 19}{c BRC}

           {c |}             expcond
 see notes {c |} Genetic F    Neutral  SES Frame {c |}     Total
{hline 11}{c +}{hline 33}{c +}{hline 10}
         0 {c |}{res}       482        864        870 {txt}{c |}{res}     2,216 
           {txt}{c |}{res}     54.84      96.64      97.53 {txt}{c |}{res}     83.15 
{txt}{hline 11}{c +}{hline 33}{c +}{hline 10}
         1 {c |}{res}       397         30         22 {txt}{c |}{res}       449 
           {txt}{c |}{res}     45.16       3.36       2.47 {txt}{c |}{res}     16.85 
{txt}{hline 11}{c +}{hline 33}{c +}{hline 10}
     Total {c |}{res}       879        894        892 {txt}{c |}{res}     2,665 
           {txt}{c |}{res}    100.00     100.00     100.00 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}2{txt}) = {res}750.9674  {txt} Pr = {res}0.000
{txt}
{com}. foreach word in socio social socioeconomic status economy economic disadvantage disadvantages therapy SES {c -(}
{txt}  2{com}. gen `word'=1 if strpos(comment_lower," `word' ")>0
{txt}  3{com}. {c )-}
{txt}(2,654 missing values generated)
(2,603 missing values generated)
(2,422 missing values generated)
(2,648 missing values generated)
(2,665 missing values generated)
(2,607 missing values generated)
(2,644 missing values generated)
(2,616 missing values generated)
(2,652 missing values generated)
(2,665 missing values generated)

{com}. egen anySESopen  =anymatch(socio-SES), val(1)
{res}{txt}
{com}. tab anySESopen expcond, col chi2
{txt}
{c TLC}{hline 19}{c TRC}
{c |} Key{col 21}{c |}
{c LT}{hline 19}{c RT}
{c |}{space 5}{it:frequency}{col 21}{c |}
{c |}{space 1}{it:column percentage}{col 21}{c |}
{c BLC}{hline 19}{c BRC}

           {c |}             expcond
 see notes {c |} Genetic F    Neutral  SES Frame {c |}     Total
{hline 11}{c +}{hline 33}{c +}{hline 10}
         0 {c |}{res}       863        878        554 {txt}{c |}{res}     2,295 
           {txt}{c |}{res}     98.18      98.21      62.11 {txt}{c |}{res}     86.12 
{txt}{hline 11}{c +}{hline 33}{c +}{hline 10}
         1 {c |}{res}        16         16        338 {txt}{c |}{res}       370 
           {txt}{c |}{res}      1.82       1.79      37.89 {txt}{c |}{res}     13.88 
{txt}{hline 11}{c +}{hline 33}{c +}{hline 10}
     Total {c |}{res}       879        894        892 {txt}{c |}{res}     2,665 
           {txt}{c |}{res}    100.00     100.00     100.00 {txt}{c |}{res}    100.00 

{txt}          Pearson chi2({res}2{txt}) = {res}646.3993  {txt} Pr = {res}0.000
{txt}
{com}. 
. 
. //BALANCE CHECK
. recode gender (1=0)(2=1)(else=.), gen(female)
{txt}(2,665 differences between {bf:gender} and {bf:female})

{com}. recode educ (3 5=0)(6=.25)(7=.5)(8=.75)(9 10=1)(else=.), gen(ed5cat)
{txt}(2,664 differences between {bf:education} and {bf:ed5cat})

{com}. recode income (1=0)(4=.2)(5=.4)(6=.6)(8=.8)(10 12=1)(else=.), gen(faminc6)
{txt}(2,665 differences between {bf:income} and {bf:faminc6})

{com}. lab var ed5cat "Education"
{txt}
{com}. lab var female "Female"
{txt}
{com}. lab var ageyears "Age"
{txt}
{com}. lab var pid3cat "Party ID"
{txt}
{com}. lab var faminc6 "Income"
{txt}
{com}. lab var expcond "Experimental Condition"
{txt}
{com}. hotelling ageyear female ed5cat faminc6 pid3cat Black if sescond~=1, by(genecond)

{txt}{hline}
-> genecond = 0

    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}ageyears {c |}{res}        882    46.95125    15.26419         18         84
{txt}{space 6}female {c |}{res}        882    .5079365    .5002207          0          1
{txt}{space 6}ed5cat {c |}{res}        882    .4328231    .3463893          0          1
{txt}{space 5}faminc6 {c |}{res}        882    .4557823    .3650689          0          1
{txt}{space 5}pid3cat {c |}{res}        882    .6071429      .47482          0          1
{txt}{hline 13}{c +}{hline 57}
{space 7}Black {c |}{res}        882    .3253968    .4687888          0          1

{txt}{hline}
-> genecond = 1

    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}ageyears {c |}{res}        871    47.15385    15.56283         18         99
{txt}{space 6}female {c |}{res}        871    .5086108    .5002131          0          1
{txt}{space 6}ed5cat {c |}{res}        871    .4259472    .3325685          0          1
{txt}{space 5}faminc6 {c |}{res}        871    .4516648    .3640688          0          1
{txt}{space 5}pid3cat {c |}{res}        871    .6211251     .468516          0          1
{txt}{hline 13}{c +}{hline 57}
{space 7}Black {c |}{res}        871    .3409874    .4743135          0          1


{txt}2-group Hotelling's T-squared = {res}1.0134339
{txt}F test statistic: {res}((1753-6-1)/(1753-2)(6)) x 1.0134339{txt} = {res}.16842333

{txt}H0: Vectors of means are equal for the two groups
              F({res}6{txt},{res}1746{txt}) = {res}   0.1684
       {txt}Prob > F({res}6{txt},{res}1746{txt}) = {res}   0.9852
{txt}
{com}. hotelling ageyear female ed5cat faminc6 pid3cat Black if genecond~=1, by(sescond)

{txt}{hline}
-> sescond = 0

    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}ageyears {c |}{res}        882    46.95125    15.26419         18         84
{txt}{space 6}female {c |}{res}        882    .5079365    .5002207          0          1
{txt}{space 6}ed5cat {c |}{res}        882    .4328231    .3463893          0          1
{txt}{space 5}faminc6 {c |}{res}        882    .4557823    .3650689          0          1
{txt}{space 5}pid3cat {c |}{res}        882    .6071429      .47482          0          1
{txt}{hline 13}{c +}{hline 57}
{space 7}Black {c |}{res}        882    .3253968    .4687888          0          1

{txt}{hline}
-> sescond = 1

    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}ageyears {c |}{res}        879    46.22981    15.44428         18         86
{txt}{space 6}female {c |}{res}        879    .5119454    .5001419          0          1
{txt}{space 6}ed5cat {c |}{res}        879    .4032992    .3352071          0          1
{txt}{space 5}faminc6 {c |}{res}        879    .4323095    .3533801          0          1
{txt}{space 5}pid3cat {c |}{res}        879    .6001138    .4751094          0          1
{txt}{hline 13}{c +}{hline 57}
{space 7}Black {c |}{res}        879     .337884    .4732581          0          1


{txt}2-group Hotelling's T-squared = {res}4.6501505
{txt}F test statistic: {res}((1761-6-1)/(1761-2)(6)) x 4.6501505{txt} = {res}.77282206

{txt}H0: Vectors of means are equal for the two groups
              F({res}6{txt},{res}1754{txt}) = {res}   0.7728
       {txt}Prob > F({res}6{txt},{res}1754{txt}) = {res}   0.5913
{txt}
{com}. 
. table (var) (expcond), statistic(mean ageyear female ed5cat faminc6 pid3cat Black) statistic(sd ageyear female ed5cat faminc6 pid3cat Black) statistic(count expcond) nformat(%9.2f mean sd) nototals
{res}
{smcl}
{reset}{...}
{hline 29}{c -}{c TT}{c -}{c -}{hline 13}{c -}{c -}{c -}{hline 7}{c -}{c -}{c -}{hline 9}
{space 29} {c |}  {space 7}Experimental Condition{space 6}
{space 29} {c |}  Genetic Frame   Neutral   SES Frame
{hline 29}{c -}{c +}{c -}{c -}{hline 13}{c -}{c -}{c -}{hline 7}{c -}{c -}{c -}{hline 9}
Age{space 26} {c |}  {space 13}   {space 7}   {space 9}
  Mean{space 23} {c |}  {space 8}{result:47.09}   {space 2}{result:46.71}   {space 4}{result:45.99}
  Standard deviation{space 9} {c |}  {space 8}{result:15.58}   {space 2}{result:15.38}   {space 4}{result:15.54}
Female{space 23} {c |}  {space 13}   {space 7}   {space 9}
  Mean{space 23} {c |}  {space 9}{result:0.51}   {space 3}{result:0.51}   {space 5}{result:0.51}
  Standard deviation{space 9} {c |}  {space 9}{result:0.50}   {space 3}{result:0.50}   {space 5}{result:0.50}
Education{space 20} {c |}  {space 13}   {space 7}   {space 9}
  Mean{space 23} {c |}  {space 9}{result:0.43}   {space 3}{result:0.43}   {space 5}{result:0.40}
  Standard deviation{space 9} {c |}  {space 9}{result:0.33}   {space 3}{result:0.35}   {space 5}{result:0.34}
Income{space 23} {c |}  {space 13}   {space 7}   {space 9}
  Mean{space 23} {c |}  {space 9}{result:0.45}   {space 3}{result:0.45}   {space 5}{result:0.43}
  Standard deviation{space 9} {c |}  {space 9}{result:0.36}   {space 3}{result:0.37}   {space 5}{result:0.35}
Party ID{space 21} {c |}  {space 13}   {space 7}   {space 9}
  Mean{space 23} {c |}  {space 9}{result:0.62}   {space 3}{result:0.61}   {space 5}{result:0.60}
  Standard deviation{space 9} {c |}  {space 9}{result:0.47}   {space 3}{result:0.47}   {space 5}{result:0.47}
Black{space 24} {c |}  {space 13}   {space 7}   {space 9}
  Mean{space 23} {c |}  {space 9}{result:0.34}   {space 3}{result:0.33}   {space 5}{result:0.34}
  Standard deviation{space 9} {c |}  {space 9}{result:0.47}   {space 3}{result:0.47}   {space 5}{result:0.47}
Experimental Condition{space 7} {c |}  {space 13}   {space 7}   {space 9}
  Number of nonmissing values {c |}  {space 10}{result:879}   {space 4}{result:894}   {space 6}{result:892}
{hline 29}{c -}{c BT}{c -}{c -}{hline 13}{c -}{c -}{c -}{hline 7}{c -}{c -}{c -}{hline 9}

{com}. collect levelsof result
{res}
{txt}Collection: Table
 Dimension: {res:result}
{p 0 12 2}
{space 4}Levels: count mean sd
{p_end}

{com}. collect style header result, level(hide)
{res}{txt}
{com}. collect title "Means, SD, N per Experimental Condition"
{res}{txt}
{com}. collect preview
{res}
{smcl}
{reset}{...}
{p}Means, SD, N per Experimental Condition{p_end}
{hline 22}{c -}{c TT}{c -}{c -}{hline 13}{c -}{c -}{c -}{hline 7}{c -}{c -}{c -}{hline 9}
{space 22} {c |}  {space 7}Experimental Condition{space 6}
{space 22} {c |}  Genetic Frame   Neutral   SES Frame
{hline 22}{c -}{c +}{c -}{c -}{hline 13}{c -}{c -}{c -}{hline 7}{c -}{c -}{c -}{hline 9}
Age{space 19} {c |}  {space 8}{result:47.09}   {space 2}{result:46.71}   {space 4}{result:45.99}
{space 22} {c |}  {space 8}{result:15.58}   {space 2}{result:15.38}   {space 4}{result:15.54}
Female{space 16} {c |}  {space 9}{result:0.51}   {space 3}{result:0.51}   {space 5}{result:0.51}
{space 22} {c |}  {space 9}{result:0.50}   {space 3}{result:0.50}   {space 5}{result:0.50}
Education{space 13} {c |}  {space 9}{result:0.43}   {space 3}{result:0.43}   {space 5}{result:0.40}
{space 22} {c |}  {space 9}{result:0.33}   {space 3}{result:0.35}   {space 5}{result:0.34}
Income{space 16} {c |}  {space 9}{result:0.45}   {space 3}{result:0.45}   {space 5}{result:0.43}
{space 22} {c |}  {space 9}{result:0.36}   {space 3}{result:0.37}   {space 5}{result:0.35}
Party ID{space 14} {c |}  {space 9}{result:0.62}   {space 3}{result:0.61}   {space 5}{result:0.60}
{space 22} {c |}  {space 9}{result:0.47}   {space 3}{result:0.47}   {space 5}{result:0.47}
Black{space 17} {c |}  {space 9}{result:0.34}   {space 3}{result:0.33}   {space 5}{result:0.34}
{space 22} {c |}  {space 9}{result:0.47}   {space 3}{result:0.47}   {space 5}{result:0.47}
Experimental Condition {c |}  {space 10}{result:879}   {space 4}{result:894}   {space 6}{result:892}
{hline 22}{c -}{c BT}{c -}{c -}{hline 13}{c -}{c -}{c -}{hline 7}{c -}{c -}{c -}{hline 9}

{com}. 
. 
. /*DVs*/
. recode bat1_health (1=0 "not at all")(2=.33)(3=.67)(4=1 "A great deal")(else=.), gen(genes_health)
{txt}(2,665 differences between {bf:bat1_health} and {bf:genes_health})

{com}. recode bat2_health (1=0 "not at all")(2=.33)(3=.67)(4=1 "A great deal")(else=.), gen(ses_health)
{txt}(2,665 differences between {bf:bat2_health} and {bf:ses_health})

{com}. 
. recode bat1_edu (1=0 "not at all")(2=.33)(3=.67)(4=1 "A great deal")(else=.), gen(genes_edu)
{txt}(2,665 differences between {bf:bat1_edu} and {bf:genes_edu})

{com}. recode bat2_edu (1=0 "not at all")(2=.33)(3=.67)(4=1 "A great deal")(else=.), gen(ses_edu)
{txt}(2,665 differences between {bf:bat2_edu} and {bf:ses_edu})

{com}. 
. recode bat1_crime (1=0 "not at all")(2=.33)(3=.67)(4=1 "A great deal")(else=.), gen(genes_crime)
{txt}(2,665 differences between {bf:bat1_crime} and {bf:genes_crime})

{com}. recode bat2_crime (1=0 "not at all")(2=.33)(3=.67)(4=1 "A great deal")(else=.), gen(ses_crime)
{txt}(2,665 differences between {bf:bat2_crime} and {bf:ses_crime})

{com}. 
. gen genes_index = (genes_health+genes_edu+genes_crime)/3
{txt}(2 missing values generated)

{com}. gen ses_index = (ses_health+ses_edu+ses_crime)/3
{txt}(3 missing values generated)

{com}. alpha genes_health genes_edu genes_crime

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .0616805
{txt}Number of items in the scale:{col 34}{res}        3
{txt}Scale reliability coefficient:{col 34}{res}   0.7733
{txt}
{com}. alpha ses_health ses_edu ses_crime

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .0840417
{txt}Number of items in the scale:{col 34}{res}        3
{txt}Scale reliability coefficient:{col 34}{res}   0.8851
{txt}
{com}. corr genes_index ses_index
{txt}(obs=2,660)

             {c |} genes_~x ses_in~x
{hline 13}{c +}{hline 18}
 genes_index {c |}{res}   1.0000
   {txt}ses_index {c |}{res}   0.1159   1.0000

{txt}
{com}. 
. **********TABLE 1**********
. foreach v of varlist genes_index genes_health genes_edu genes_crime ses_index ses_health ses_edu ses_crime {c -(}
{txt}  2{com}. reg `v' genecond sescond
{txt}  3{com}. est store `v'
{txt}  4{com}. {c )-}

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,663
{txt}{hline 13}{c +}{hline 34}   F(2, 2660)      = {res}     8.09
{txt}       Model {c |} {res} 1.28385755         2  .641928773   {txt}Prob > F        ={res}    0.0003
{txt}    Residual {c |} {res} 211.039725     2,660  .079338242   {txt}R-squared       ={res}    0.0060
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0053
{txt}       Total {c |} {res} 212.323582     2,662  .079760925   {txt}Root MSE        =   {res} .28167

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0489863{col 26}{space 2} .0133868{col 37}{space 1}    3.66{col 46}{space 3}0.000{col 54}{space 4} .0227367{col 67}{space 3}  .075236
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0049631{col 26}{space 2} .0133337{col 37}{space 1}    0.37{col 46}{space 3}0.710{col 54}{space 4}-.0211824{col 67}{space 3} .0311087
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3604442{col 26}{space 2} .0094257{col 37}{space 1}   38.24{col 46}{space 3}0.000{col 54}{space 4} .3419617{col 67}{space 3} .3789267
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,664
{txt}{hline 13}{c +}{hline 34}   F(2, 2661)      = {res}    26.07
{txt}       Model {c |} {res} 4.92894024         2  2.46447012   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 251.529136     2,661   .09452429   {txt}R-squared       ={res}    0.0192
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0185
{txt}       Total {c |} {res} 256.458076     2,663  .096304197   {txt}Root MSE        =   {res} .30745

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}genes_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0677174{col 26}{space 2} .0146078{col 37}{space 1}    4.64{col 46}{space 3}0.000{col 54}{space 4} .0390737{col 67}{space 3} .0963611
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0362922{col 26}{space 2}  .014554{col 37}{space 1}   -2.49{col 46}{space 3}0.013{col 54}{space 4}-.0648305{col 67}{space 3}-.0077538
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .537402{col 26}{space 2} .0102884{col 37}{space 1}   52.23{col 46}{space 3}0.000{col 54}{space 4}  .517228{col 67}{space 3}  .557576
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,664
{txt}{hline 13}{c +}{hline 34}   F(2, 2661)      = {res}     2.73
{txt}       Model {c |} {res} .623197954         2  .311598977   {txt}Prob > F        ={res}    0.0652
{txt}    Residual {c |} {res}  303.32784     2,661  .113990169   {txt}R-squared       ={res}    0.0021
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0013
{txt}       Total {c |} {res} 303.951038     2,663   .11413858   {txt}Root MSE        =   {res} .33762

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   genes_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0372517{col 26}{space 2} .0160417{col 37}{space 1}    2.32{col 46}{space 3}0.020{col 54}{space 4} .0057963{col 67}{space 3} .0687071
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0222431{col 26}{space 2}  .015978{col 37}{space 1}    1.39{col 46}{space 3}0.164{col 54}{space 4}-.0090875{col 67}{space 3} .0535737
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2504362{col 26}{space 2} .0112918{col 37}{space 1}   22.18{col 46}{space 3}0.000{col 54}{space 4} .2282946{col 67}{space 3} .2725779
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,665
{txt}{hline 13}{c +}{hline 34}   F(2, 2662)      = {res}     2.78
{txt}       Model {c |} {res} .761709996         2  .380854998   {txt}Prob > F        ={res}    0.0625
{txt}    Residual {c |} {res} 365.186574     2,662  .137185039   {txt}R-squared       ={res}    0.0021
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0013
{txt}       Total {c |} {res} 365.948284     2,664  .137367974   {txt}Root MSE        =   {res} .37038

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0404047{col 26}{space 2} .0175932{col 37}{space 1}    2.30{col 46}{space 3}0.022{col 54}{space 4}  .005907{col 67}{space 3} .0749024
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0280479{col 26}{space 2} .0175284{col 37}{space 1}    1.60{col 46}{space 3}0.110{col 54}{space 4}-.0063228{col 67}{space 3} .0624187
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2943848{col 26}{space 2} .0123875{col 37}{space 1}   23.76{col 46}{space 3}0.000{col 54}{space 4} .2700946{col 67}{space 3} .3186749
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,662
{txt}{hline 13}{c +}{hline 34}   F(2, 2659)      = {res}     0.30
{txt}       Model {c |} {res} .057118836         2  .028559418   {txt}Prob > F        ={res}    0.7404
{txt}    Residual {c |} {res}  252.57115     2,659   .09498727   {txt}R-squared       ={res}    0.0002
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0005
{txt}       Total {c |} {res} 252.628269     2,661  .094937343   {txt}Root MSE        =   {res}  .3082

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0112363{col 26}{space 2} .0146476{col 37}{space 1}   -0.77{col 46}{space 3}0.443{col 54}{space 4}-.0399581{col 67}{space 3} .0174854
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0041408{col 26}{space 2} .0145978{col 37}{space 1}   -0.28{col 46}{space 3}0.777{col 54}{space 4} -.032765{col 67}{space 3} .0244833
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .6671749{col 26}{space 2} .0103193{col 37}{space 1}   64.65{col 46}{space 3}0.000{col 54}{space 4} .6469402{col 67}{space 3} .6874096
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,664
{txt}{hline 13}{c +}{hline 34}   F(2, 2661)      = {res}     0.92
{txt}       Model {c |} {res} .205672692         2  .102836346   {txt}Prob > F        ={res}    0.3993
{txt}    Residual {c |} {res} 297.969319     2,661  .111976445   {txt}R-squared       ={res}    0.0007
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0001
{txt}       Total {c |} {res} 298.174992     2,663   .11196958   {txt}Root MSE        =   {res} .33463

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  ses_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0140929{col 26}{space 2} .0158992{col 37}{space 1}   -0.89{col 46}{space 3}0.375{col 54}{space 4}-.0452689{col 67}{space 3} .0170832
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0070934{col 26}{space 2} .0158407{col 37}{space 1}    0.45{col 46}{space 3}0.654{col 54}{space 4}-.0239679{col 67}{space 3} .0381547
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .6573124{col 26}{space 2} .0111979{col 37}{space 1}   58.70{col 46}{space 3}0.000{col 54}{space 4} .6353549{col 67}{space 3}   .67927
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,665
{txt}{hline 13}{c +}{hline 34}   F(2, 2662)      = {res}     0.28
{txt}       Model {c |} {res}  .06869301         2  .034346505   {txt}Prob > F        ={res}    0.7523
{txt}    Residual {c |} {res} 321.174066     2,662  .120651415   {txt}R-squared       ={res}    0.0002
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0005
{txt}       Total {c |} {res} 321.242759     2,664  .120586621   {txt}Root MSE        =   {res} .34735

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     ses_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0100036{col 26}{space 2}  .016499{col 37}{space 1}   -0.61{col 46}{space 3}0.544{col 54}{space 4}-.0423557{col 67}{space 3} .0223485
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0113637{col 26}{space 2} .0164383{col 37}{space 1}   -0.69{col 46}{space 3}0.489{col 54}{space 4}-.0435967{col 67}{space 3} .0208693
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .6617897{col 26}{space 2} .0116171{col 37}{space 1}   56.97{col 46}{space 3}0.000{col 54}{space 4} .6390103{col 67}{space 3} .6845692
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,663
{txt}{hline 13}{c +}{hline 34}   F(2, 2660)      = {res}     0.15
{txt}       Model {c |} {res} .034508403         2  .017254201   {txt}Prob > F        ={res}    0.8637
{txt}    Residual {c |} {res} 313.324196     2,660  .117791051   {txt}R-squared       ={res}    0.0001
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0006
{txt}       Total {c |} {res} 313.358704     2,662  .117715516   {txt}Root MSE        =   {res} .34321

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0085002{col 26}{space 2} .0163068{col 37}{space 1}   -0.52{col 46}{space 3}0.602{col 54}{space 4}-.0404754{col 67}{space 3}  .023475
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0062709{col 26}{space 2} .0162513{col 37}{space 1}   -0.39{col 46}{space 3}0.700{col 54}{space 4}-.0381374{col 67}{space 3} .0255956
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .6813102{col 26}{space 2}  .011485{col 37}{space 1}   59.32{col 46}{space 3}0.000{col 54}{space 4} .6587898{col 67}{space 3} .7038306
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est table genes_index genes_health genes_edu genes_crime ses_index ses_health ses_edu ses_crime,  b(%9.2f) se stats(N) style(col) eq(1)
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 9:genes_i~x} {c |} {center 9:genes_h~h} {c |} {center 9:genes_edu} {c |} {center 9:genes_c~e} {c |} {center 9:ses_index} {c |} {center 9:ses_hea~h} {c |} {center 9:ses_edu} {c |} {center 9:ses_crime} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.05}{txt} {c |}{res} {ralign 9:0.07}{txt} {c |}{res} {ralign 9:0.04}{txt} {c |}{res} {ralign 9:0.04}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:0.00}{txt} {c |}{res} {ralign 9:-0.04}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:-0.00}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.36}{txt} {c |}{res} {ralign 9:0.54}{txt} {c |}{res} {ralign 9:0.25}{txt} {c |}{res} {ralign 9:0.29}{txt} {c |}{res} {ralign 9:0.67}{txt} {c |}{res} {ralign 9:0.66}{txt} {c |}{res} {ralign 9:0.66}{txt} {c |}{res} {ralign 9:0.68}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:2663}{txt} {c |}{res} {ralign 9:2664}{txt} {c |}{res} {ralign 9:2664}{txt} {c |}{res} {ralign 9:2665}{txt} {c |}{res} {ralign 9:2662}{txt} {c |}{res} {ralign 9:2664}{txt} {c |}{res} {ralign 9:2665}{txt} {c |}{res} {ralign 9:2663}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BRC}
{ralign 112:Legend: b/se}
{res}{txt}
{com}. est table genes_index genes_health genes_edu genes_crime ses_index ses_health ses_edu ses_crime,  b(%9.2f) star(.05 .01 .001) stats(N) style(col) eq(1)
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 12:genes_index} {c |} {center 12:genes_health} {c |} {center 12:genes_edu} {c |} {center 12:genes_crime} {c |} {center 12:ses_index} {c |} {center 12:ses_health} {c |} {center 12:ses_edu} {c |} {center 12:ses_crime} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.05}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.07}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.04}{lalign 3:*}{txt} {c |}{res} {ralign 9:0.04}{lalign 3:*}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.04}{lalign 3:*}{txt} {c |}{res} {ralign 9:0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:0.03}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.36}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.54}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.25}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.29}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.67}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.66}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.66}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.68}{lalign 3:***}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:2663}{lalign 3:}{txt} {c |}{res} {ralign 9:2664}{lalign 3:}{txt} {c |}{res} {ralign 9:2664}{lalign 3:}{txt} {c |}{res} {ralign 9:2665}{lalign 3:}{txt} {c |}{res} {ralign 9:2662}{lalign 3:}{txt} {c |}{res} {ralign 9:2664}{lalign 3:}{txt} {c |}{res} {ralign 9:2665}{lalign 3:}{txt} {c |}{res} {ralign 9:2663}{lalign 3:}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BRC}
{ralign 136:Legend: * p<.05; ** p<.01; *** p<.001}
{res}{txt}
{com}. 
. /*Testing equivalence across conditions*/
. suest genes_health genes_edu
{res}
{txt}Simultaneous results for {stata estimates replay genes_health:genes_health}, {stata estimates replay genes_edu:genes_edu}

{col 58}{lalign 13:Number of obs}{col 71} = {res}{ralign 5:2,665}

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 20}{c |} Coefficient{col 32}  std. err.{col 44}      z{col 52}   P>|z|{col 60}     [95% con{col 73}f. interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_health_mean  {txt}{c |}
{space 10}genecond {c |}{col 20}{res}{space 2} .0677174{col 32}{space 2} .0141624{col 43}{space 1}    4.78{col 52}{space 3}0.000{col 60}{space 4} .0399596{col 73}{space 3} .0954753
{txt}{space 11}sescond {c |}{col 20}{res}{space 2}-.0362922{col 32}{space 2} .0148271{col 43}{space 1}   -2.45{col 52}{space 3}0.014{col 60}{space 4}-.0653527{col 73}{space 3}-.0072316
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .537402{col 32}{space 2} .0100765{col 43}{space 1}   53.33{col 52}{space 3}0.000{col 60}{space 4} .5176525{col 73}{space 3} .5571516
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_health_lnvar {txt}{c |}
{space 13}_cons {c |}{col 20}{res}{space 2}-2.358898{col 32}{space 2} .0211703{col 43}{space 1} -111.43{col 52}{space 3}0.000{col 60}{space 4}-2.400391{col 73}{space 3}-2.317405
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_edu_mean     {txt}{c |}
{space 10}genecond {c |}{col 20}{res}{space 2} .0372517{col 32}{space 2} .0158664{col 43}{space 1}    2.35{col 52}{space 3}0.019{col 60}{space 4} .0061542{col 73}{space 3} .0683492
{txt}{space 11}sescond {c |}{col 20}{res}{space 2} .0222431{col 32}{space 2} .0159154{col 43}{space 1}    1.40{col 52}{space 3}0.162{col 60}{space 4}-.0089505{col 73}{space 3} .0534368
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2504362{col 32}{space 2} .0109596{col 43}{space 1}   22.85{col 52}{space 3}0.000{col 60}{space 4} .2289558{col 73}{space 3} .2719167
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_edu_lnvar    {txt}{c |}
{space 13}_cons {c |}{col 20}{res}{space 2}-2.171643{col 32}{space 2} .0235114{col 43}{space 1}  -92.37{col 52}{space 3}0.000{col 60}{space 4}-2.217725{col 73}{space 3}-2.125562
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. test [genes_health_mean]genecond=[genes_edu_mean]genecond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[genes_health_mean]genecond - [genes_edu_mean]genecond = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    3.51
{txt}{col 10}Prob > chi2 =  {res}  0.0611
{txt}
{com}. //reporting one-tailed p-values which require halving the two-tailed p-value reported
. disp .0611/2
{res}.03055
{txt}
{com}. 
. suest genes_health genes_crime
{res}
{txt}Simultaneous results for {stata estimates replay genes_health:genes_health}, {stata estimates replay genes_crime:genes_crime}

{col 58}{lalign 13:Number of obs}{col 71} = {res}{ralign 5:2,665}

{txt}{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 20}{c |} Coefficient{col 32}  std. err.{col 44}      z{col 52}   P>|z|{col 60}     [95% con{col 73}f. interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_health_mean  {txt}{c |}
{space 10}genecond {c |}{col 20}{res}{space 2} .0677174{col 32}{space 2} .0141624{col 43}{space 1}    4.78{col 52}{space 3}0.000{col 60}{space 4} .0399596{col 73}{space 3} .0954753
{txt}{space 11}sescond {c |}{col 20}{res}{space 2}-.0362922{col 32}{space 2} .0148271{col 43}{space 1}   -2.45{col 52}{space 3}0.014{col 60}{space 4}-.0653527{col 73}{space 3}-.0072316
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .537402{col 32}{space 2} .0100765{col 43}{space 1}   53.33{col 52}{space 3}0.000{col 60}{space 4} .5176525{col 73}{space 3} .5571516
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_health_lnvar {txt}{c |}
{space 13}_cons {c |}{col 20}{res}{space 2}-2.358898{col 32}{space 2} .0211703{col 43}{space 1} -111.43{col 52}{space 3}0.000{col 60}{space 4}-2.400391{col 73}{space 3}-2.317405
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_crime_mean   {txt}{c |}
{space 10}genecond {c |}{col 20}{res}{space 2} .0404047{col 32}{space 2} .0174683{col 43}{space 1}    2.31{col 52}{space 3}0.021{col 60}{space 4} .0061675{col 73}{space 3}  .074642
{txt}{space 11}sescond {c |}{col 20}{res}{space 2} .0280479{col 32}{space 2} .0173908{col 43}{space 1}    1.61{col 52}{space 3}0.107{col 60}{space 4}-.0060373{col 73}{space 3} .0621332
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2943848{col 32}{space 2} .0120181{col 43}{space 1}   24.50{col 52}{space 3}0.000{col 60}{space 4} .2708298{col 73}{space 3} .3179398
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_crime_lnvar  {txt}{c |}
{space 13}_cons {c |}{col 20}{res}{space 2}-1.986425{col 32}{space 2} .0198758{col 43}{space 1}  -99.94{col 52}{space 3}0.000{col 60}{space 4} -2.02538{col 73}{space 3}-1.947469
{txt}{hline 19}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. test [genes_health_mean]genecond=[genes_crime_mean]genecond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[genes_health_mean]genecond - [genes_crime_mean]genecond = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    2.45
{txt}{col 10}Prob > chi2 =  {res}  0.1178
{txt}
{com}. //reporting one-tailed p-values which require halving the two-tailed p-value reported
. disp .1178/2
{res}.0589
{txt}
{com}. 
. //calculating effect size
. //difference of means/sd 
. ttest genes_index if sescond==0, by(genecond)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. err.{col 47}Std. dev.{col 59}[95% conf. interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    893{col 22} .3604442{col 34} .0090176{col 46} .2694745{col 58}  .342746{col 70} .3781424
       {txt}1 {c |}{res}{col 12}    878{col 22} .4094305{col 34} .0094519{col 46} .2800689{col 58} .3908796{col 70} .4279815
{txt}{hline 9}{c +}{hline 68}
Combined {c |}{res}{col 12}  1,771{col 22} .3847299{col 34} .0065535{col 46} .2757905{col 58} .3718766{col 70} .3975832
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0489863{col 34} .0130592{col 58}-.0745995{col 70}-.0233732
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.7511
{txt}H0: diff = 0                                     Degrees of freedom = {res}    1769

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0001         {txt}Pr(|T| > |t|) = {res}0.0002          {txt}Pr(T > t) = {res}0.9999
{txt}
{com}. disp -.0489863/.2757905
{res}-.17762142
{txt}
{com}. 
. ttest genes_health if sescond==0, by(genecond)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. err.{col 47}Std. dev.{col 59}[95% conf. interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    893{col 22}  .537402{col 34} .0100802{col 46} .3012287{col 58} .5176183{col 70} .5571858
       {txt}1 {c |}{res}{col 12}    879{col 22} .6051195{col 34} .0099556{col 46} .2951633{col 58} .5855799{col 70}  .624659
{txt}{hline 9}{c +}{hline 68}
Combined {c |}{res}{col 12}  1,772{col 22} .5709932{col 34} .0071283{col 46} .3000686{col 58} .5570124{col 70} .5849741
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0677174{col 34}   .01417{col 58}-.0955092{col 70}-.0399257
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.7789
{txt}H0: diff = 0                                     Degrees of freedom = {res}    1770

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{txt}
{com}. disp -.0677174/.3000686
{res}-.22567306
{txt}
{com}. 
. 
. *****HETEROGENEITY*****
. **********START FIGURE 5**********
. *****PLACE FULL RESULTS IN APPENDIX*****
. forval j=1/3 {c -(}
{txt}  2{com}. foreach v of varlist genes_index genes_health genes_edu genes_crime ses_index ses_health ses_edu ses_crime {c -(}
{txt}  3{com}. reg `v' genecond sescond if samplegroups==`j'
{txt}  4{com}. est store `v'_`j'
{txt}  5{com}. {c )-}
{txt}  6{com}. {c )-}

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       883
{txt}{hline 13}{c +}{hline 34}   F(2, 880)       = {res}     2.09
{txt}       Model {c |} {res} .284083546         2  .142041773   {txt}Prob > F        ={res}    0.1245
{txt}    Residual {c |} {res} 59.8496404       880  .068010955   {txt}R-squared       ={res}    0.0047
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0025
{txt}       Total {c |} {res} 60.1337239       882  .068178825   {txt}Root MSE        =   {res} .26079

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0280362{col 26}{space 2} .0215588{col 37}{space 1}    1.30{col 46}{space 3}0.194{col 54}{space 4}-.0142764{col 67}{space 3} .0703487
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0157477{col 26}{space 2} .0212944{col 37}{space 1}   -0.74{col 46}{space 3}0.460{col 54}{space 4}-.0575414{col 67}{space 3} .0260461
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3777118{col 26}{space 2} .0149819{col 37}{space 1}   25.21{col 46}{space 3}0.000{col 54}{space 4} .3483073{col 67}{space 3} .4071163
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       883
{txt}{hline 13}{c +}{hline 34}   F(2, 880)       = {res}     9.18
{txt}       Model {c |} {res} 1.51402462         2  .757012309   {txt}Prob > F        ={res}    0.0001
{txt}    Residual {c |} {res} 72.5572571       880  .082451428   {txt}R-squared       ={res}    0.0204
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0182
{txt}       Total {c |} {res} 74.0712817       882  .083981045   {txt}Root MSE        =   {res} .28714

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}genes_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}  .020058{col 26}{space 2} .0237374{col 37}{space 1}    0.84{col 46}{space 3}0.398{col 54}{space 4}-.0265306{col 67}{space 3} .0666465
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} -.076236{col 26}{space 2} .0234463{col 37}{space 1}   -3.25{col 46}{space 3}0.001{col 54}{space 4}-.1222532{col 67}{space 3}-.0302187
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5813201{col 26}{space 2}  .016496{col 37}{space 1}   35.24{col 46}{space 3}0.000{col 54}{space 4} .5489441{col 67}{space 3} .6136962
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       883
{txt}{hline 13}{c +}{hline 34}   F(2, 880)       = {res}     1.17
{txt}       Model {c |} {res} .250529457         2  .125264728   {txt}Prob > F        ={res}    0.3124
{txt}    Residual {c |} {res} 94.6073427       880  .107508344   {txt}R-squared       ={res}    0.0026
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0004
{txt}       Total {c |} {res} 94.8578722       882  .107548608   {txt}Root MSE        =   {res} .32788

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   genes_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0412355{col 26}{space 2} .0271054{col 37}{space 1}    1.52{col 46}{space 3}0.129{col 54}{space 4}-.0119633{col 67}{space 3} .0944342
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}  .022865{col 26}{space 2}  .026773{col 37}{space 1}    0.85{col 46}{space 3}0.393{col 54}{space 4}-.0296814{col 67}{space 3} .0754114
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2484819{col 26}{space 2} .0188365{col 37}{space 1}   13.19{col 46}{space 3}0.000{col 54}{space 4} .2115122{col 67}{space 3} .2854515
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       883
{txt}{hline 13}{c +}{hline 34}   F(2, 880)       = {res}     0.34
{txt}       Model {c |} {res} .080882124         2  .040441062   {txt}Prob > F        ={res}    0.7121
{txt}    Residual {c |} {res} 104.792151       880   .11908199   {txt}R-squared       ={res}    0.0008
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0015
{txt}       Total {c |} {res} 104.873033       882  .118903666   {txt}Root MSE        =   {res} .34508

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0228151{col 26}{space 2} .0285271{col 37}{space 1}    0.80{col 46}{space 3}0.424{col 54}{space 4} -.033174{col 67}{space 3} .0788041
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0061279{col 26}{space 2} .0281773{col 37}{space 1}    0.22{col 46}{space 3}0.828{col 54}{space 4}-.0491746{col 67}{space 3} .0614305
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3033333{col 26}{space 2} .0198245{col 37}{space 1}   15.30{col 46}{space 3}0.000{col 54}{space 4} .2644246{col 67}{space 3} .3422421
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       882
{txt}{hline 13}{c +}{hline 34}   F(2, 879)       = {res}     2.59
{txt}       Model {c |} {res} .459484149         2  .229742074   {txt}Prob > F        ={res}    0.0756
{txt}    Residual {c |} {res} 77.9551709       879  .088686201   {txt}R-squared       ={res}    0.0059
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0036
{txt}       Total {c |} {res}  78.414655       881  .089006419   {txt}Root MSE        =   {res}  .2978

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0371966{col 26}{space 2} .0246382{col 37}{space 1}   -1.51{col 46}{space 3}0.131{col 54}{space 4}-.0855532{col 67}{space 3}   .01116
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0541384{col 26}{space 2} .0243366{col 37}{space 1}   -2.22{col 46}{space 3}0.026{col 54}{space 4} -.101903{col 67}{space 3}-.0063738
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5201766{col 26}{space 2} .0171366{col 37}{space 1}   30.35{col 46}{space 3}0.000{col 54}{space 4} .4865432{col 67}{space 3}   .55381
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       882
{txt}{hline 13}{c +}{hline 34}   F(2, 879)       = {res}     1.25
{txt}       Model {c |} {res} .252002135         2  .126001067   {txt}Prob > F        ={res}    0.2864
{txt}    Residual {c |} {res} 88.4521516       879  .100628159   {txt}R-squared       ={res}    0.0028
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0006
{txt}       Total {c |} {res} 88.7041537       881  .100685759   {txt}Root MSE        =   {res} .31722

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  ses_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0345221{col 26}{space 2} .0262447{col 37}{space 1}   -1.32{col 46}{space 3}0.189{col 54}{space 4}-.0860317{col 67}{space 3} .0169874
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0365849{col 26}{space 2} .0259234{col 37}{space 1}   -1.41{col 46}{space 3}0.159{col 54}{space 4}-.0874639{col 67}{space 3}  .014294
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5068543{col 26}{space 2} .0182539{col 37}{space 1}   27.77{col 46}{space 3}0.000{col 54}{space 4} .4710279{col 67}{space 3} .5426807
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       883
{txt}{hline 13}{c +}{hline 34}   F(2, 880)       = {res}     3.36
{txt}       Model {c |} {res}  .78060013         2  .390300065   {txt}Prob > F        ={res}    0.0351
{txt}    Residual {c |} {res} 102.168378       880  .116100429   {txt}R-squared       ={res}    0.0076
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0053
{txt}       Total {c |} {res} 102.948978       882  .116722197   {txt}Root MSE        =   {res} .34074

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     ses_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0296086{col 26}{space 2} .0281677{col 37}{space 1}   -1.05{col 46}{space 3}0.293{col 54}{space 4}-.0848923{col 67}{space 3} .0256751
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0718275{col 26}{space 2} .0278223{col 37}{space 1}   -2.58{col 46}{space 3}0.010{col 54}{space 4}-.1264333{col 67}{space 3}-.0172217
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .519538{col 26}{space 2} .0195747{col 37}{space 1}   26.54{col 46}{space 3}0.000{col 54}{space 4} .4811194{col 67}{space 3} .5579566
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       883
{txt}{hline 13}{c +}{hline 34}   F(2, 880)       = {res}     2.31
{txt}       Model {c |} {res} .539310997         2  .269655498   {txt}Prob > F        ={res}    0.0995
{txt}    Residual {c |} {res} 102.584446       880  .116573234   {txt}R-squared       ={res}    0.0052
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0030
{txt}       Total {c |} {res} 103.123757       882  .116920359   {txt}Root MSE        =   {res} .34143

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0484041{col 26}{space 2}  .028225{col 37}{space 1}   -1.71{col 46}{space 3}0.087{col 54}{space 4}-.1038002{col 67}{space 3} .0069921
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0549478{col 26}{space 2} .0278789{col 37}{space 1}   -1.97{col 46}{space 3}0.049{col 54}{space 4}-.1096647{col 67}{space 3}-.0002309
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5350825{col 26}{space 2} .0196145{col 37}{space 1}   27.28{col 46}{space 3}0.000{col 54}{space 4} .4965858{col 67}{space 3} .5735793
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       887
{txt}{hline 13}{c +}{hline 34}   F(2, 884)       = {res}     6.60
{txt}       Model {c |} {res} .870587695         2  .435293848   {txt}Prob > F        ={res}    0.0014
{txt}    Residual {c |} {res} 58.2891439       884  .065937946   {txt}R-squared       ={res}    0.0147
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0125
{txt}       Total {c |} {res} 59.1597316       886  .066771706   {txt}Root MSE        =   {res} .25678

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0532021{col 26}{space 2}   .02109{col 37}{space 1}    2.52{col 46}{space 3}0.012{col 54}{space 4} .0118098{col 67}{space 3} .0945943
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0214341{col 26}{space 2}  .021108{col 37}{space 1}   -1.02{col 46}{space 3}0.310{col 54}{space 4}-.0628617{col 67}{space 3} .0199935
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3004251{col 26}{space 2} .0148751{col 37}{space 1}   20.20{col 46}{space 3}0.000{col 54}{space 4} .2712305{col 67}{space 3} .3296197
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       887
{txt}{hline 13}{c +}{hline 34}   F(2, 884)       = {res}    13.18
{txt}       Model {c |} {res} 2.38146813         2  1.19073407   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 79.8544133       884  .090333047   {txt}R-squared       ={res}    0.0290
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0268
{txt}       Total {c |} {res} 82.2358814       886  .092817022   {txt}Root MSE        =   {res} .30055

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}genes_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0775942{col 26}{space 2} .0246849{col 37}{space 1}    3.14{col 46}{space 3}0.002{col 54}{space 4} .0291464{col 67}{space 3} .1260421
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} -.048434{col 26}{space 2}  .024706{col 37}{space 1}   -1.96{col 46}{space 3}0.050{col 54}{space 4}-.0969233{col 67}{space 3} .0000552
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .4901007{col 26}{space 2} .0174107{col 37}{space 1}   28.15{col 46}{space 3}0.000{col 54}{space 4} .4559296{col 67}{space 3} .5242717
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       888
{txt}{hline 13}{c +}{hline 34}   F(2, 885)       = {res}     2.32
{txt}       Model {c |} {res} .409462137         2  .204731068   {txt}Prob > F        ={res}    0.0987
{txt}    Residual {c |} {res}  78.042783       885  .088183936   {txt}R-squared       ={res}    0.0052
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0030
{txt}       Total {c |} {res} 78.4522451       887  .088446725   {txt}Root MSE        =   {res} .29696

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   genes_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0362555{col 26}{space 2} .0243692{col 37}{space 1}    1.49{col 46}{space 3}0.137{col 54}{space 4}-.0115726{col 67}{space 3} .0840837
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0150026{col 26}{space 2} .0243901{col 37}{space 1}   -0.62{col 46}{space 3}0.539{col 54}{space 4}-.0628717{col 67}{space 3} .0328665
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .1938462{col 26}{space 2} .0171735{col 37}{space 1}   11.29{col 46}{space 3}0.000{col 54}{space 4} .1601406{col 67}{space 3} .2275517
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       888
{txt}{hline 13}{c +}{hline 34}   F(2, 885)       = {res}     1.84
{txt}       Model {c |} {res} .394540758         2  .197270379   {txt}Prob > F        ={res}    0.1590
{txt}    Residual {c |} {res} 94.7606596       885  .107074192   {txt}R-squared       ={res}    0.0041
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0019
{txt}       Total {c |} {res} 95.1552003       887  .107277565   {txt}Root MSE        =   {res} .32722

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}   .04265{col 26}{space 2} .0268528{col 37}{space 1}    1.59{col 46}{space 3}0.113{col 54}{space 4}-.0100526{col 67}{space 3} .0953525
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0039722{col 26}{space 2} .0268757{col 37}{space 1}   -0.15{col 46}{space 3}0.883{col 54}{space 4}-.0567198{col 67}{space 3} .0487754
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2204348{col 26}{space 2} .0189237{col 37}{space 1}   11.65{col 46}{space 3}0.000{col 54}{space 4} .1832942{col 67}{space 3} .2575754
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       887
{txt}{hline 13}{c +}{hline 34}   F(2, 884)       = {res}     2.90
{txt}       Model {c |} {res} .436093063         2  .218046532   {txt}Prob > F        ={res}    0.0553
{txt}    Residual {c |} {res} 66.3530473       884  .075060008   {txt}R-squared       ={res}    0.0065
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0043
{txt}       Total {c |} {res} 66.7891403       886  .075382777   {txt}Root MSE        =   {res} .27397

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0063231{col 26}{space 2} .0224828{col 37}{space 1}   -0.28{col 46}{space 3}0.779{col 54}{space 4}-.0504491{col 67}{space 3} .0378028
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0436815{col 26}{space 2} .0225214{col 37}{space 1}    1.94{col 46}{space 3}0.053{col 54}{space 4}-.0005202{col 67}{space 3} .0878832
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7503345{col 26}{space 2} .0158441{col 37}{space 1}   47.36{col 46}{space 3}0.000{col 54}{space 4} .7192379{col 67}{space 3}  .781431
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       888
{txt}{hline 13}{c +}{hline 34}   F(2, 885)       = {res}     4.26
{txt}       Model {c |} {res} .804951316         2  .402475658   {txt}Prob > F        ={res}    0.0145
{txt}    Residual {c |} {res} 83.6687943       885  .094541011   {txt}R-squared       ={res}    0.0095
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0073
{txt}       Total {c |} {res} 84.4737456       887  .095235339   {txt}Root MSE        =   {res} .30748

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  ses_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0092601{col 26}{space 2} .0252323{col 37}{space 1}   -0.37{col 46}{space 3}0.714{col 54}{space 4}-.0587822{col 67}{space 3}  .040262
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0588702{col 26}{space 2} .0252539{col 37}{space 1}    2.33{col 46}{space 3}0.020{col 54}{space 4} .0093057{col 67}{space 3} .1084346
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7295652{col 26}{space 2} .0177818{col 37}{space 1}   41.03{col 46}{space 3}0.000{col 54}{space 4} .6946659{col 67}{space 3} .7644645
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       888
{txt}{hline 13}{c +}{hline 34}   F(2, 885)       = {res}     1.67
{txt}       Model {c |} {res} .314966108         2  .157483054   {txt}Prob > F        ={res}    0.1894
{txt}    Residual {c |} {res} 83.6178638       885  .094483462   {txt}R-squared       ={res}    0.0038
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0015
{txt}       Total {c |} {res} 83.9328299       887  .094625513   {txt}Root MSE        =   {res} .30738

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     ses_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0110761{col 26}{space 2} .0252246{col 37}{space 1}   -0.44{col 46}{space 3}0.661{col 54}{space 4}-.0605832{col 67}{space 3} .0384309
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0333441{col 26}{space 2} .0252462{col 37}{space 1}    1.32{col 46}{space 3}0.187{col 54}{space 4}-.0162053{col 67}{space 3} .0828935
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7606355{col 26}{space 2} .0177763{col 37}{space 1}   42.79{col 46}{space 3}0.000{col 54}{space 4} .7257468{col 67}{space 3} .7955242
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       887
{txt}{hline 13}{c +}{hline 34}   F(2, 884)       = {res}     1.66
{txt}       Model {c |} {res} .307608186         2  .153804093   {txt}Prob > F        ={res}    0.1905
{txt}    Residual {c |} {res} 81.8381889       884  .092577137   {txt}R-squared       ={res}    0.0037
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0015
{txt}       Total {c |} {res} 82.1457971       886  .092715347   {txt}Root MSE        =   {res} .30426

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0013668{col 26}{space 2} .0249688{col 37}{space 1}    0.05{col 46}{space 3}0.956{col 54}{space 4}-.0476383{col 67}{space 3}  .050372
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0402553{col 26}{space 2} .0250117{col 37}{space 1}    1.61{col 46}{space 3}0.108{col 54}{space 4}-.0088339{col 67}{space 3} .0893446
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7608027{col 26}{space 2} .0175961{col 37}{space 1}   43.24{col 46}{space 3}0.000{col 54}{space 4} .7262677{col 67}{space 3} .7953377
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       893
{txt}{hline 13}{c +}{hline 34}   F(2, 890)       = {res}     3.49
{txt}       Model {c |} {res}  .66375717         2  .331878585   {txt}Prob > F        ={res}    0.0310
{txt}    Residual {c |} {res} 84.7253449       890  .095197017   {txt}R-squared       ={res}    0.0078
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0055
{txt}       Total {c |} {res}  85.389102       892  .095727693   {txt}Root MSE        =   {res} .30854

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0639992{col 26}{space 2} .0253642{col 37}{space 1}    2.52{col 46}{space 3}0.012{col 54}{space 4} .0142187{col 67}{space 3} .1137798
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}  .049433{col 26}{space 2} .0253434{col 37}{space 1}    1.95{col 46}{space 3}0.051{col 54}{space 4}-.0003068{col 67}{space 3} .0991727
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .4037785{col 26}{space 2} .0180559{col 37}{space 1}   22.36{col 46}{space 3}0.000{col 54}{space 4} .3683414{col 67}{space 3} .4392157
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       894
{txt}{hline 13}{c +}{hline 34}   F(2, 891)       = {res}     9.06
{txt}       Model {c |} {res} 1.93295099         2  .966475494   {txt}Prob > F        ={res}    0.0001
{txt}    Residual {c |} {res} 95.0348978       891   .10666094   {txt}R-squared       ={res}    0.0199
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0177
{txt}       Total {c |} {res} 96.9678488       893  .108586617   {txt}Root MSE        =   {res} .32659

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}genes_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .1052129{col 26}{space 2}  .026826{col 37}{space 1}    3.92{col 46}{space 3}0.000{col 54}{space 4} .0525634{col 67}{space 3} .1578623
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0151464{col 26}{space 2}  .026826{col 37}{space 1}    0.56{col 46}{space 3}0.572{col 54}{space 4} -.037503{col 67}{space 3} .0677959
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5401027{col 26}{space 2} .0191122{col 37}{space 1}   28.26{col 46}{space 3}0.000{col 54}{space 4} .5025925{col 67}{space 3}  .577613
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       893
{txt}{hline 13}{c +}{hline 34}   F(2, 890)       = {res}     1.67
{txt}       Model {c |} {res} .455333848         2  .227666924   {txt}Prob > F        ={res}    0.1895
{txt}    Residual {c |} {res} 121.600423       890  .136629689   {txt}R-squared       ={res}    0.0037
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0015
{txt}       Total {c |} {res} 122.055757       892  .136833809   {txt}Root MSE        =   {res} .36963

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   genes_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}  .031989{col 26}{space 2} .0303865{col 37}{space 1}    1.05{col 46}{space 3}0.293{col 54}{space 4}-.0276486{col 67}{space 3} .0916267
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0552369{col 26}{space 2} .0303616{col 37}{space 1}    1.82{col 46}{space 3}0.069{col 54}{space 4}-.0043519{col 67}{space 3} .1148256
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .310411{col 26}{space 2} .0216312{col 37}{space 1}   14.35{col 46}{space 3}0.000{col 54}{space 4} .2679568{col 67}{space 3} .3528651
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       894
{txt}{hline 13}{c +}{hline 34}   F(2, 891)       = {res}     2.74
{txt}       Model {c |} {res} .932601102         2  .466300551   {txt}Prob > F        ={res}    0.0654
{txt}    Residual {c |} {res} 151.874462       891  .170453942   {txt}R-squared       ={res}    0.0061
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0039
{txt}       Total {c |} {res} 152.807063       893  .171116532   {txt}Root MSE        =   {res} .41286

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1} genes_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0523675{col 26}{space 2} .0339122{col 37}{space 1}    1.54{col 46}{space 3}0.123{col 54}{space 4}-.0141897{col 67}{space 3} .1189246
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0779156{col 26}{space 2} .0339122{col 37}{space 1}    2.30{col 46}{space 3}0.022{col 54}{space 4} .0113585{col 67}{space 3} .1444728
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3608219{col 26}{space 2} .0241608{col 37}{space 1}   14.93{col 46}{space 3}0.000{col 54}{space 4} .3134031{col 67}{space 3} .4082407
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       893
{txt}{hline 13}{c +}{hline 34}   F(2, 890)       = {res}     0.02
{txt}       Model {c |} {res} .002835184         2  .001417592   {txt}Prob > F        ={res}    0.9816
{txt}    Residual {c |} {res} 67.9536814       890  .076352451   {txt}R-squared       ={res}    0.0000
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0022
{txt}       Total {c |} {res} 67.9565166       892  .076184436   {txt}Root MSE        =   {res} .27632

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_index{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0020471{col 26}{space 2} .0227166{col 37}{space 1}   -0.09{col 46}{space 3}0.928{col 54}{space 4}-.0466314{col 67}{space 3} .0425372
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0043727{col 26}{space 2} .0227166{col 37}{space 1}   -0.19{col 46}{space 3}0.847{col 54}{space 4}-.0489569{col 67}{space 3} .0402116
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7342841{col 26}{space 2} .0161981{col 37}{space 1}   45.33{col 46}{space 3}0.000{col 54}{space 4} .7024931{col 67}{space 3} .7660751
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       894
{txt}{hline 13}{c +}{hline 34}   F(2, 891)       = {res}     0.09
{txt}       Model {c |} {res} .016968435         2  .008484217   {txt}Prob > F        ={res}    0.9160
{txt}    Residual {c |} {res} 86.0986534       891  .096631485   {txt}R-squared       ={res}    0.0002
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0020
{txt}       Total {c |} {res} 86.1156218       893  .096434067   {txt}Root MSE        =   {res} .31086

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  ses_health{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0105995{col 26}{space 2} .0255336{col 37}{space 1}   -0.42{col 46}{space 3}0.678{col 54}{space 4}-.0607125{col 67}{space 3} .0395135
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0041211{col 26}{space 2} .0255336{col 37}{space 1}   -0.16{col 46}{space 3}0.872{col 54}{space 4}-.0542341{col 67}{space 3} .0459919
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7389384{col 26}{space 2} .0181915{col 37}{space 1}   40.62{col 46}{space 3}0.000{col 54}{space 4} .7032352{col 67}{space 3} .7746415
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       894
{txt}{hline 13}{c +}{hline 34}   F(2, 891)       = {res}     0.00
{txt}       Model {c |} {res} .000856368         2  .000428184   {txt}Prob > F        ={res}    0.9960
{txt}    Residual {c |} {res} 95.1765781       891  .106819953   {txt}R-squared       ={res}    0.0000
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0022
{txt}       Total {c |} {res} 95.1774345       893  .106581674   {txt}Root MSE        =   {res} .32683

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}     ses_edu{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2}-.0000454{col 26}{space 2}  .026846{col 37}{space 1}   -0.00{col 46}{space 3}0.999{col 54}{space 4}-.0527341{col 67}{space 3} .0526433
{txt}{space 5}sescond {c |}{col 14}{res}{space 2} .0020476{col 26}{space 2}  .026846{col 37}{space 1}    0.08{col 46}{space 3}0.939{col 54}{space 4}-.0506411{col 67}{space 3} .0547363
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .7081849{col 26}{space 2} .0191265{col 37}{space 1}   37.03{col 46}{space 3}0.000{col 54}{space 4} .6706468{col 67}{space 3} .7457231
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}       893
{txt}{hline 13}{c +}{hline 34}   F(2, 890)       = {res}     0.19
{txt}       Model {c |} {res} .036446112         2  .018223056   {txt}Prob > F        ={res}    0.8304
{txt}    Residual {c |} {res} 87.2276373       890  .098008581   {txt}R-squared       ={res}    0.0004
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0018
{txt}       Total {c |} {res} 87.2640834       892   .09782969   {txt}Root MSE        =   {res} .31306

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   ses_crime{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}genecond {c |}{col 14}{res}{space 2} .0083425{col 26}{space 2} .0257373{col 37}{space 1}    0.32{col 46}{space 3}0.746{col 54}{space 4}-.0421704{col 67}{space 3} .0588554
{txt}{space 5}sescond {c |}{col 14}{res}{space 2}-.0072056{col 26}{space 2} .0257373{col 37}{space 1}   -0.28{col 46}{space 3}0.780{col 54}{space 4}-.0577185{col 67}{space 3} .0433072
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}   .75189{col 26}{space 2} .0183521{col 37}{space 1}   40.97{col 46}{space 3}0.000{col 54}{space 4} .7158716{col 67}{space 3} .7879085
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. forval j=1/3 {c -(}
{txt}  2{com}. est table genes_index_`j' genes_health_`j' genes_edu_`j' genes_crime_`j' ses_index_`j' ses_health_`j' ses_edu_`j' ses_crime_`j', b(%9.2f) se stats(N) style(col) eq(1)
{txt}  3{com}. est table genes_index_`j' genes_health_`j' genes_edu_`j' genes_crime_`j' ses_index_`j' ses_health_`j' ses_edu_`j' ses_crime_`j', b(%9.2f) star(.05 .01 .001) stats(N) style(col) eq(1)
{txt}  4{com}. {c )-}
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 9:genes_i~1} {c |} {center 9:genes_h~1} {c |} {center 9:genes_e~1} {c |} {center 9:genes_c~1} {c |} {center 9:ses_ind~1} {c |} {center 9:ses_hea~1} {c |} {center 9:ses_edu_1} {c |} {center 9:ses_cri~1} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.04}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:-0.04}{txt} {c |}{res} {ralign 9:-0.03}{txt} {c |}{res} {ralign 9:-0.03}{txt} {c |}{res} {ralign 9:-0.05}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:-0.02}{txt} {c |}{res} {ralign 9:-0.08}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:-0.05}{txt} {c |}{res} {ralign 9:-0.04}{txt} {c |}{res} {ralign 9:-0.07}{txt} {c |}{res} {ralign 9:-0.05}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.38}{txt} {c |}{res} {ralign 9:0.58}{txt} {c |}{res} {ralign 9:0.25}{txt} {c |}{res} {ralign 9:0.30}{txt} {c |}{res} {ralign 9:0.52}{txt} {c |}{res} {ralign 9:0.51}{txt} {c |}{res} {ralign 9:0.52}{txt} {c |}{res} {ralign 9:0.54}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:883}{txt} {c |}{res} {ralign 9:883}{txt} {c |}{res} {ralign 9:883}{txt} {c |}{res} {ralign 9:883}{txt} {c |}{res} {ralign 9:882}{txt} {c |}{res} {ralign 9:882}{txt} {c |}{res} {ralign 9:883}{txt} {c |}{res} {ralign 9:883}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BRC}
{ralign 112:Legend: b/se}
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 12:genes_inde~1} {c |} {center 12:genes_heal~1} {c |} {center 12:genes_edu_1} {c |} {center 12:genes_crim~1} {c |} {center 12:ses_index_1} {c |} {center 12:ses_health_1} {c |} {center 12:ses_edu_1} {c |} {center 12:ses_crime_1} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.03}{lalign 3:}{txt} {c |}{res} {ralign 9:0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:0.04}{lalign 3:}{txt} {c |}{res} {ralign 9:0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.04}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.03}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.03}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.05}{lalign 3:}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:-0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.08}{lalign 3:**}{txt} {c |}{res} {ralign 9:0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.05}{lalign 3:*}{txt} {c |}{res} {ralign 9:-0.04}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.07}{lalign 3:**}{txt} {c |}{res} {ralign 9:-0.05}{lalign 3:*}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.38}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.58}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.25}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.30}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.52}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.51}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.52}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.54}{lalign 3:***}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:883}{lalign 3:}{txt} {c |}{res} {ralign 9:883}{lalign 3:}{txt} {c |}{res} {ralign 9:883}{lalign 3:}{txt} {c |}{res} {ralign 9:883}{lalign 3:}{txt} {c |}{res} {ralign 9:882}{lalign 3:}{txt} {c |}{res} {ralign 9:882}{lalign 3:}{txt} {c |}{res} {ralign 9:883}{lalign 3:}{txt} {c |}{res} {ralign 9:883}{lalign 3:}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BRC}
{ralign 136:Legend: * p<.05; ** p<.01; *** p<.001}
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 9:genes_i~2} {c |} {center 9:genes_h~2} {c |} {center 9:genes_e~2} {c |} {center 9:genes_c~2} {c |} {center 9:ses_ind~2} {c |} {center 9:ses_hea~2} {c |} {center 9:ses_edu_2} {c |} {center 9:ses_cri~2} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.05}{txt} {c |}{res} {ralign 9:0.08}{txt} {c |}{res} {ralign 9:0.04}{txt} {c |}{res} {ralign 9:0.04}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:0.00}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:-0.02}{txt} {c |}{res} {ralign 9:-0.05}{txt} {c |}{res} {ralign 9:-0.02}{txt} {c |}{res} {ralign 9:-0.00}{txt} {c |}{res} {ralign 9:0.04}{txt} {c |}{res} {ralign 9:0.06}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.04}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.30}{txt} {c |}{res} {ralign 9:0.49}{txt} {c |}{res} {ralign 9:0.19}{txt} {c |}{res} {ralign 9:0.22}{txt} {c |}{res} {ralign 9:0.75}{txt} {c |}{res} {ralign 9:0.73}{txt} {c |}{res} {ralign 9:0.76}{txt} {c |}{res} {ralign 9:0.76}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.01}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:887}{txt} {c |}{res} {ralign 9:887}{txt} {c |}{res} {ralign 9:888}{txt} {c |}{res} {ralign 9:888}{txt} {c |}{res} {ralign 9:887}{txt} {c |}{res} {ralign 9:888}{txt} {c |}{res} {ralign 9:888}{txt} {c |}{res} {ralign 9:887}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BRC}
{ralign 112:Legend: b/se}
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 12:genes_inde~2} {c |} {center 12:genes_heal~2} {c |} {center 12:genes_edu_2} {c |} {center 12:genes_crim~2} {c |} {center 12:ses_index_2} {c |} {center 12:ses_health_2} {c |} {center 12:ses_edu_2} {c |} {center 12:ses_crime_2} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.05}{lalign 3:*}{txt} {c |}{res} {ralign 9:0.08}{lalign 3:**}{txt} {c |}{res} {ralign 9:0.04}{lalign 3:}{txt} {c |}{res} {ralign 9:0.04}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:0.00}{lalign 3:}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:-0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.05}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:0.04}{lalign 3:}{txt} {c |}{res} {ralign 9:0.06}{lalign 3:*}{txt} {c |}{res} {ralign 9:0.03}{lalign 3:}{txt} {c |}{res} {ralign 9:0.04}{lalign 3:}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.30}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.49}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.19}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.22}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.75}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.73}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.76}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.76}{lalign 3:***}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:887}{lalign 3:}{txt} {c |}{res} {ralign 9:887}{lalign 3:}{txt} {c |}{res} {ralign 9:888}{lalign 3:}{txt} {c |}{res} {ralign 9:888}{lalign 3:}{txt} {c |}{res} {ralign 9:887}{lalign 3:}{txt} {c |}{res} {ralign 9:888}{lalign 3:}{txt} {c |}{res} {ralign 9:888}{lalign 3:}{txt} {c |}{res} {ralign 9:887}{lalign 3:}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BRC}
{ralign 136:Legend: * p<.05; ** p<.01; *** p<.001}
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TT}{c -}{hline 9}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 9:genes_i~3} {c |} {center 9:genes_h~3} {c |} {center 9:genes_e~3} {c |} {center 9:genes_c~3} {c |} {center 9:ses_ind~3} {c |} {center 9:ses_hea~3} {c |} {center 9:ses_edu_3} {c |} {center 9:ses_cri~3} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.06}{txt} {c |}{res} {ralign 9:0.11}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.05}{txt} {c |}{res} {ralign 9:-0.00}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}{res} {ralign 9:-0.00}{txt} {c |}{res} {ralign 9:0.01}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:0.05}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.06}{txt} {c |}{res} {ralign 9:0.08}{txt} {c |}{res} {ralign 9:-0.00}{txt} {c |}{res} {ralign 9:-0.00}{txt} {c |}{res} {ralign 9:0.00}{txt} {c |}{res} {ralign 9:-0.01}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}{res} {ralign 9:0.03}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.40}{txt} {c |}{res} {ralign 9:0.54}{txt} {c |}{res} {ralign 9:0.31}{txt} {c |}{res} {ralign 9:0.36}{txt} {c |}{res} {ralign 9:0.73}{txt} {c |}{res} {ralign 9:0.74}{txt} {c |}{res} {ralign 9:0.71}{txt} {c |}{res} {ralign 9:0.75}{txt} {c |}
{res}{txt}{c |} {space 12} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}{res} {ralign 9:0.02}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c +}{c -}{hline 9}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:893}{txt} {c |}{res} {ralign 9:894}{txt} {c |}{res} {ralign 9:893}{txt} {c |}{res} {ralign 9:894}{txt} {c |}{res} {ralign 9:893}{txt} {c |}{res} {ralign 9:894}{txt} {c |}{res} {ralign 9:894}{txt} {c |}{res} {ralign 9:893}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BT}{c -}{hline 9}{c -}{c BRC}
{ralign 112:Legend: b/se}
{res}
{txt}{c TLC}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TT}{c -}{hline 12}{c -}{c TRC}
{c |} {ralign 12:Variable} {c |} {center 12:genes_inde~3} {c |} {center 12:genes_heal~3} {c |} {center 12:genes_edu_3} {c |} {center 12:genes_crim~3} {c |} {center 12:ses_index_3} {c |} {center 12:ses_health_3} {c |} {center 12:ses_edu_3} {c |} {center 12:ses_crime_3} {c |}
{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{res}{txt}{c |} {space 4}genecond {c |}{res} {ralign 9:0.06}{lalign 3:*}{txt} {c |}{res} {ralign 9:0.11}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.03}{lalign 3:}{txt} {c |}{res} {ralign 9:0.05}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:0.01}{lalign 3:}{txt} {c |}
{res}{txt}{c |} {space 5}sescond {c |}{res} {ralign 9:0.05}{lalign 3:}{txt} {c |}{res} {ralign 9:0.02}{lalign 3:}{txt} {c |}{res} {ralign 9:0.06}{lalign 3:}{txt} {c |}{res} {ralign 9:0.08}{lalign 3:*}{txt} {c |}{res} {ralign 9:-0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:0.00}{lalign 3:}{txt} {c |}{res} {ralign 9:-0.01}{lalign 3:}{txt} {c |}
{res}{txt}{c |} {space 7}_cons {c |}{res} {ralign 9:0.40}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.54}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.31}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.36}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.73}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.74}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.71}{lalign 3:***}{txt} {c |}{res} {ralign 9:0.75}{lalign 3:***}{txt} {c |}
{res}{txt}{c LT}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c +}{c -}{hline 12}{c -}{c RT}
{c |} {ralign 12:N} {c |}{res} {ralign 9:893}{lalign 3:}{txt} {c |}{res} {ralign 9:894}{lalign 3:}{txt} {c |}{res} {ralign 9:893}{lalign 3:}{txt} {c |}{res} {ralign 9:894}{lalign 3:}{txt} {c |}{res} {ralign 9:893}{lalign 3:}{txt} {c |}{res} {ralign 9:894}{lalign 3:}{txt} {c |}{res} {ralign 9:894}{lalign 3:}{txt} {c |}{res} {ralign 9:893}{lalign 3:}{txt} {c |}
{res}{txt}{c BLC}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BT}{c -}{hline 12}{c -}{c BRC}
{ralign 136:Legend: * p<.05; ** p<.01; *** p<.001}
{res}{txt}
{com}. 
. coefplot (genes_index, mcolor(black) mfcolor(white) lcolor(gray)) (genes_index_2, mcolor(blue) lcolor(blue)) (genes_index_3, mcolor(black) lcolor(black)) (genes_index_1, mcolor(red)) , legend(label(2 "All") label(4 "White DEM") label(6 "Black") label(8 "White GOP") row(4) position(3)) xline(0) title("DV: Genes Index") name(genes_index, replace) keep(genecond sescond)
{res}{txt}
{com}. 
. coefplot (ses_index, mcolor(black) mfcolor(white) lcolor(gray)) (ses_index_2, mcolor(blue) lcolor(blue)) (ses_index_3, mcolor(black) lcolor(black)) (ses_index_1, mcolor(red)) , legend(label(2 "All") label(4 "White DEM") label(6 "Black") label(8 "White GOP") row(4) position(3)) xline(0) title("DV: SES Index") name(ses_index, replace) keep(genecond sescond)
{res}{txt}
{com}. 
. graph combine genes_index ses_index, ycommon xcommon ysize(6) xsize(12)
{res}{txt}
{com}. graph export Figure5.pdf, replace
{txt}{p 0 4 2}
file {bf}
Figure5.pdf{rm}
saved as
PDF
format
{p_end}

{com}. **********END FIGURE 5**********
. 
. *test for difference in effect size
. suest genes_index_1 genes_index_2
{res}
{txt}Simultaneous results for {stata estimates replay genes_index_1:genes_index_1}, {stata estimates replay genes_index_2:genes_index_2}

{col 58}{lalign 13:Number of obs}{col 71} = {res}{ralign 5:1,770}

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      z{col 53}   P>|z|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_1_mean  {txt}{c |}
{space 11}genecond {c |}{col 21}{res}{space 2} .0280362{col 33}{space 2}  .021629{col 44}{space 1}    1.30{col 53}{space 3}0.195{col 61}{space 4} -.014356{col 74}{space 3} .0704283
{txt}{space 12}sescond {c |}{col 21}{res}{space 2}-.0157477{col 33}{space 2} .0208964{col 44}{space 1}   -0.75{col 53}{space 3}0.451{col 61}{space 4}-.0567038{col 74}{space 3} .0252084
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .3777118{col 33}{space 2} .0145084{col 44}{space 1}   26.03{col 53}{space 3}0.000{col 61}{space 4} .3492758{col 74}{space 3} .4061478
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_1_lnvar {txt}{c |}
{space 14}_cons {c |}{col 21}{res}{space 2}-2.688086{col 33}{space 2} .0438059{col 44}{space 1}  -61.36{col 53}{space 3}0.000{col 61}{space 4}-2.773944{col 74}{space 3}-2.602229
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_2_mean  {txt}{c |}
{space 11}genecond {c |}{col 21}{res}{space 2} .0532021{col 33}{space 2} .0208529{col 44}{space 1}    2.55{col 53}{space 3}0.011{col 61}{space 4} .0123311{col 74}{space 3}  .094073
{txt}{space 12}sescond {c |}{col 21}{res}{space 2}-.0214341{col 33}{space 2}  .020806{col 44}{space 1}   -1.03{col 53}{space 3}0.303{col 61}{space 4}-.0622132{col 74}{space 3} .0193449
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .3004251{col 33}{space 2} .0141447{col 44}{space 1}   21.24{col 53}{space 3}0.000{col 61}{space 4} .2727021{col 74}{space 3} .3281481
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_2_lnvar {txt}{c |}
{space 14}_cons {c |}{col 21}{res}{space 2}-2.719041{col 33}{space 2} .0479084{col 44}{space 1}  -56.76{col 53}{space 3}0.000{col 61}{space 4} -2.81294{col 74}{space 3}-2.625143
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. test [genes_index_1_mean]genecond=[genes_index_2_mean]genecond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[genes_index_1_mean]genecond - [genes_index_2_mean]genecond = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    0.70
{txt}{col 10}Prob > chi2 =  {res}  0.4022
{txt}
{com}. suest genes_index_1 genes_index_3
{res}
{txt}Simultaneous results for {stata estimates replay genes_index_1:genes_index_1}, {stata estimates replay genes_index_3:genes_index_3}

{col 58}{lalign 13:Number of obs}{col 71} = {res}{ralign 5:1,776}

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 21}{c |} Coefficient{col 33}  std. err.{col 45}      z{col 53}   P>|z|{col 61}     [95% con{col 74}f. interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_1_mean  {txt}{c |}
{space 11}genecond {c |}{col 21}{res}{space 2} .0280362{col 33}{space 2}  .021629{col 44}{space 1}    1.30{col 53}{space 3}0.195{col 61}{space 4}-.0143559{col 74}{space 3} .0704283
{txt}{space 12}sescond {c |}{col 21}{res}{space 2}-.0157477{col 33}{space 2} .0208963{col 44}{space 1}   -0.75{col 53}{space 3}0.451{col 61}{space 4}-.0567038{col 74}{space 3} .0252084
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .3777118{col 33}{space 2} .0145084{col 44}{space 1}   26.03{col 53}{space 3}0.000{col 61}{space 4} .3492758{col 74}{space 3} .4061478
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_1_lnvar {txt}{c |}
{space 14}_cons {c |}{col 21}{res}{space 2}-2.688086{col 33}{space 2} .0438058{col 44}{space 1}  -61.36{col 53}{space 3}0.000{col 61}{space 4}-2.773944{col 74}{space 3}-2.602229
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_3_mean  {txt}{c |}
{space 11}genecond {c |}{col 21}{res}{space 2} .0639992{col 33}{space 2} .0243343{col 44}{space 1}    2.63{col 53}{space 3}0.009{col 61}{space 4} .0163048{col 74}{space 3} .1116936
{txt}{space 12}sescond {c |}{col 21}{res}{space 2}  .049433{col 33}{space 2}  .025853{col 44}{space 1}    1.91{col 53}{space 3}0.056{col 61}{space 4} -.001238{col 74}{space 3}  .100104
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .4037785{col 33}{space 2}  .017464{col 44}{space 1}   23.12{col 53}{space 3}0.000{col 61}{space 4} .3695497{col 74}{space 3} .4380074
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}genes_index_3_lnvar {txt}{c |}
{space 14}_cons {c |}{col 21}{res}{space 2}-2.351807{col 33}{space 2} .0314744{col 44}{space 1}  -74.72{col 53}{space 3}0.000{col 61}{space 4}-2.413495{col 74}{space 3}-2.290118
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. test [genes_index_1_mean]genecond=[genes_index_3_mean]genecond

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[genes_index_1_mean]genecond - [genes_index_3_mean]genecond = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    1.22
{txt}{col 10}Prob > chi2 =  {res}  0.2693
{txt}
{com}. 
. 
. **********FOOTNOTE & APPENDIX
. //timing
. sum treat_timer_First_Click treat_timer_Last_Click treat_timer_Page_Submit

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
tr~rst_Click {c |}{res}      2,665    31.49364     73.6226          0    2208.32
{txt}tr~ast_Click {c |}{res}      2,665    46.35247    96.65928          0    2208.32
{txt}treat_time~t {c |}{res}      2,665    50.14526    97.27279      1.195   2210.284
{txt}
{com}. table expcond samplegroups, stat(mean treat_timer_Page_Submit) nformat(%9.2f)
{res}
{smcl}
{reset}{...}
{hline 22}{c -}{c TT}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 5}{c -}{c -}{c -}{hline 5}
{space 22} {c |}  {space 13}samplegroups{space 12}
{space 22} {c |}  White REP   White DEM   Black   Total
{hline 22}{c -}{c +}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 5}{c -}{c -}{c -}{hline 5}
Experimental Condition {c |}  {space 9}   {space 9}   {space 5}   {space 5}
  Genetic Frame{space 7} {c |}  {space 4}{result:52.72}   {space 4}{result:49.60}   {result:70.81}   {result:57.87}
  Neutral{space 13} {c |}  {space 4}{result:36.03}   {space 4}{result:27.66}   {result:53.58}   {result:38.96}
  SES Frame{space 11} {c |}  {space 4}{result:52.02}   {space 4}{result:46.31}   {result:62.70}   {result:53.74}
  Total{space 15} {c |}  {space 4}{result:46.76}   {space 4}{result:41.12}   {result:62.45}   {result:50.15}
{hline 22}{c -}{c BT}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 5}{c -}{c -}{c -}{hline 5}

{com}. 
. //word length of surprise recall
. gen wordcount = wordcount(comment_lower)
{txt}
{com}. table expcond samplegroups, stat(mean wordcount) nformat(%9.2f)
{res}
{smcl}
{reset}{...}
{hline 22}{c -}{c TT}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 5}{c -}{c -}{c -}{hline 5}
{space 22} {c |}  {space 13}samplegroups{space 12}
{space 22} {c |}  White REP   White DEM   Black   Total
{hline 22}{c -}{c +}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 5}{c -}{c -}{c -}{hline 5}
Experimental Condition {c |}  {space 9}   {space 9}   {space 5}   {space 5}
  Genetic Frame{space 7} {c |}  {space 4}{result:15.11}   {space 4}{result:17.19}   {result:14.97}   {result:15.76}
  Neutral{space 13} {c |}  {space 4}{result:13.16}   {space 4}{result:14.28}   {result:13.12}   {result:13.52}
  SES Frame{space 11} {c |}  {space 4}{result:16.30}   {space 4}{result:19.66}   {result:14.26}   {result:16.72}
  Total{space 15} {c |}  {space 4}{result:14.84}   {space 4}{result:17.03}   {result:14.13}   {result:15.33}
{hline 22}{c -}{c BT}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 9}{c -}{c -}{c -}{hline 5}{c -}{c -}{c -}{hline 5}

{com}. reg wordcount i.expcond i.samplegroups

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,665
{txt}{hline 13}{c +}{hline 34}   F(4, 2660)      = {res}    21.25
{txt}       Model {c |} {res} 8917.80722         4  2229.45181   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res}  279071.95     2,660  104.914267   {txt}R-squared       ={res}    0.0310
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0295
{txt}       Total {c |} {res} 287989.758     2,664  108.104263   {txt}Root MSE        =   {res} 10.243

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   wordcount{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}expcond {c |}
{space 4}Neutral  {c |}{col 14}{res}{space 2}-2.249207{col 26}{space 2} .4865942{col 37}{space 1}   -4.62{col 46}{space 3}0.000{col 54}{space 4}-3.203348{col 67}{space 3}-1.295066
{txt}{space 2}SES Frame  {c |}{col 14}{res}{space 2} .9679589{col 26}{space 2} .4868212{col 37}{space 1}    1.99{col 46}{space 3}0.047{col 54}{space 4} .0133725{col 67}{space 3} 1.922545
{txt}{space 12} {c |}
samplegroups {c |}
{space 2}White DEM  {c |}{col 14}{res}{space 2} 2.173945{col 26}{space 2}  .486813{col 37}{space 1}    4.47{col 46}{space 3}0.000{col 54}{space 4} 1.219374{col 67}{space 3} 3.128515
{txt}{space 6}Black  {c |}{col 14}{res}{space 2}-.7514431{col 26}{space 2} .4860379{col 37}{space 1}   -1.55{col 46}{space 3}0.122{col 54}{space 4}-1.704494{col 67}{space 3} .2016074
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 15.28882{col 26}{space 2} .4484056{col 37}{space 1}   34.10{col 46}{space 3}0.000{col 54}{space 4} 14.40956{col 67}{space 3} 16.16808
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg wordcount i.expcond i.samplegroups ageyear female ed5cat faminc6 pid3cat

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     2,632
{txt}{hline 13}{c +}{hline 34}   F(9, 2622)      = {res}    13.14
{txt}       Model {c |} {res} 12105.1378         9  1345.01531   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 268431.795     2,622  102.376733   {txt}R-squared       ={res}    0.0431
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0399
{txt}       Total {c |} {res} 280536.933     2,631  106.627492   {txt}Root MSE        =   {res} 10.118

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   wordcount{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}expcond {c |}
{space 4}Neutral  {c |}{col 14}{res}{space 2}-2.383657{col 26}{space 2} .4834677{col 37}{space 1}   -4.93{col 46}{space 3}0.000{col 54}{space 4}-3.331674{col 67}{space 3} -1.43564
{txt}{space 2}SES Frame  {c |}{col 14}{res}{space 2} .8326202{col 26}{space 2} .4842147{col 37}{space 1}    1.72{col 46}{space 3}0.086{col 54}{space 4}-.1168614{col 67}{space 3} 1.782102
{txt}{space 12} {c |}
samplegroups {c |}
{space 2}White DEM  {c |}{col 14}{res}{space 2} 1.027103{col 26}{space 2} 1.216668{col 37}{space 1}    0.84{col 46}{space 3}0.399{col 54}{space 4}-1.358623{col 67}{space 3} 3.412829
{txt}{space 6}Black  {c |}{col 14}{res}{space 2}-1.483488{col 26}{space 2} 1.060512{col 37}{space 1}   -1.40{col 46}{space 3}0.162{col 54}{space 4}-3.563014{col 67}{space 3}  .596038
{txt}{space 12} {c |}
{space 4}ageyears {c |}{col 14}{res}{space 2}-.0351586{col 26}{space 2} .0132076{col 37}{space 1}   -2.66{col 46}{space 3}0.008{col 54}{space 4}-.0610569{col 67}{space 3}-.0092603
{txt}{space 6}female {c |}{col 14}{res}{space 2} 1.182426{col 26}{space 2} .4000735{col 37}{space 1}    2.96{col 46}{space 3}0.003{col 54}{space 4} .3979342{col 67}{space 3} 1.966918
{txt}{space 6}ed5cat {c |}{col 14}{res}{space 2} 3.349871{col 26}{space 2} .6670955{col 37}{space 1}    5.02{col 46}{space 3}0.000{col 54}{space 4} 2.041784{col 67}{space 3} 4.657958
{txt}{space 5}faminc6 {c |}{col 14}{res}{space 2}-.9830517{col 26}{space 2} .6303781{col 37}{space 1}   -1.56{col 46}{space 3}0.119{col 54}{space 4}-2.219141{col 67}{space 3} .2530373
{txt}{space 5}pid3cat {c |}{col 14}{res}{space 2} .5070013{col 26}{space 2}  1.11202{col 37}{space 1}    0.46{col 46}{space 3}0.648{col 54}{space 4}-1.673524{col 67}{space 3} 2.687526
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 15.71126{col 26}{space 2} .8898381{col 37}{space 1}   17.66{col 46}{space 3}0.000{col 54}{space 4}  13.9664{col 67}{space 3} 17.45612
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. **********UNPACKING SES CONDITION**********
. *****Footnote 25*****
. //in each condition, top words
. //what words are uniquely predictive of one condition versus the others
. preserve
{txt}
{com}. keep comment_lower expcond
{txt}
{com}. save openends.dta, replace
{txt}{p 0 4 2}
(file {bf}
openends.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
openends.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. 
. * txttool is the command, commenttext is the variable to be used, gen(cleaned) creates a new variable with all lower case text
. * bagwords breaks out every word into its own variable
. 
. use openends.dta, clear
{txt}
{com}. preserve
{txt}
{com}. keep if expcond ==1
{txt}(1,786 observations deleted)

{com}. save openends_Genetic.dta, replace
{txt}{p 0 4 2}
(file {bf}
openends_Genetic.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
openends_Genetic.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. preserve
{txt}
{com}. keep if expcond ==2
{txt}(1,771 observations deleted)

{com}. save openends_Neutral.dta, replace
{txt}{p 0 4 2}
(file {bf}
openends_Neutral.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
openends_Neutral.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. preserve
{txt}
{com}. keep if expcond ==3
{txt}(1,773 observations deleted)

{com}. save openends_SES.dta, replace
{txt}{p 0 4 2}
(file {bf}
openends_SES.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
openends_SES.dta{rm}
saved
{p_end}

{com}. restore
{txt}
{com}. 
. foreach v in Genetic Neutral SES {c -(}
{txt}  2{com}. use openends_`v'.dta, clear
{txt}  3{com}. txttool comment_lower, gen(cleaned_open) bagwords stem stopwords(stopword.txt)
{txt}  4{com}. save "cleaned_open_`v'", replace
{txt}  5{com}. {c )-}
{res}No prefix chosen for bagged words; default prefix w_ used
Note that errors will result if new prefix/word combinations match any existing variables
Input:   1194 unique words, 13852 total words
Output:  793 unique words, 6891 total words
Total time: 1.805 seconds
{txt}{p 0 4 2}
(file {bf}
cleaned_open_Genetic.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
cleaned_open_Genetic.dta{rm}
saved
{p_end}
{res}No prefix chosen for bagged words; default prefix w_ used
Note that errors will result if new prefix/word combinations match any existing variables
Input:   893 unique words, 12088 total words
Output:  563 unique words, 6172 total words
Total time: 1.361 seconds
{txt}{p 0 4 2}
(file {bf}
cleaned_open_Neutral.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
cleaned_open_Neutral.dta{rm}
saved
{p_end}
{res}No prefix chosen for bagged words; default prefix w_ used
Note that errors will result if new prefix/word combinations match any existing variables
Input:   1259 unique words, 14890 total words
Output:  811 unique words, 7610 total words
Total time: 2.303 seconds
{txt}{p 0 4 2}
(file {bf}
cleaned_open_SES.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
cleaned_open_SES.dta{rm}
saved
{p_end}

{com}. 
. //looking at the new dataset of bag of words
. foreach v in Genetic Neutral SES {c -(}
{txt}  2{com}. use cleaned_open_`v', clear
{txt}  3{com}. foreach j of varlist w_* {c -(}
{txt}  4{com}. egen mean`j' = mean(`j')
{txt}  5{com}. {c )-}
{txt}  6{com}. keep mean*
{txt}  7{com}. 
. save "means_open_`v'", replace
{txt}  8{com}. {c )-}
{txt}{p 0 4 2}
(file {bf}
means_open_Genetic.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
means_open_Genetic.dta{rm}
saved
{p_end}
{p 0 4 2}
(file {bf}
means_open_Neutral.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
means_open_Neutral.dta{rm}
saved
{p_end}
{p 0 4 2}
(file {bf}
means_open_SES.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
means_open_SES.dta{rm}
saved
{p_end}

{com}. 
. use  "means_open_Genetic", clear
{txt}
{com}. drop if _n>1
{txt}(878 observations deleted)

{com}. order _all, sequential
{txt}
{com}. drop meanw_2-meanw_1968
{txt}
{com}. rename meanw_long renamew_llong
{res}{txt}
{com}. rename meanw_* *
{res}{txt}
{com}. xpose, clear varname format(%6.2f)
{txt}
{com}. sum v1, det

                             {txt}v1
{hline 61}
      Percentiles      Smallest
 1%    {res} .0011429       .0011429
{txt} 5%    {res} .0011429       .0011429
{txt}10%    {res} .0011429       .0011429       {txt}Obs         {res}        788
{txt}25%    {res} .0011429       .0011429       {txt}Sum of wgt. {res}        788

{txt}50%    {res} .0011429                      {txt}Mean          {res} .0099666
                        {txt}Largest       Std. dev.     {res} .0539364
{txt}75%    {res} .0034286       .5714286
{txt}90%    {res} .0137143       .5942857       {txt}Variance      {res} .0029091
{txt}95%    {res} .0228571             .6       {txt}Skewness      {res} 11.17718
{txt}99%    {res} .2045714       .8651429       {txt}Kurtosis      {res} 142.0885
{txt}
{com}. egen top50=pctile(v1), p(50)
{txt}
{com}. egen top25=pctile(v1), p(75)
{txt}
{com}. keep if v1>top25
{txt}(616 observations deleted)

{com}. sum

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}v1 {c |}{res}        172    .0402924    .1104706   .0045714   .8651429
{txt}{space 4}_varname {c |}{res}          0
{txt}{space 7}top50 {c |}{res}        172    .0011429           0   .0011429   .0011429
{txt}{space 7}top25 {c |}{res}        172    .0034286           0   .0034286   .0034286
{txt}
{com}. sum v1, det

                             {txt}v1
{hline 61}
      Percentiles      Smallest
 1%    {res} .0045714       .0045714
{txt} 5%    {res} .0045714       .0045714
{txt}10%    {res} .0045714       .0045714       {txt}Obs         {res}        172
{txt}25%    {res} .0068571       .0045714       {txt}Sum of wgt. {res}        172

{txt}50%    {res} .0125714                      {txt}Mean          {res} .0402924
                        {txt}Largest       Std. dev.     {res} .1104706
{txt}75%    {res} .0205714       .5714286
{txt}90%    {res} .0502857       .5942857       {txt}Variance      {res} .0122038
{txt}95%    {res}     .184             .6       {txt}Skewness      {res} 5.155612
{txt}99%    {res}       .6       .8651429       {txt}Kurtosis      {res} 31.19177
{txt}
{com}. graph hbar v1 if v1>.02, over(_varname, sort(1) label(labsize(vsmall))) title("Top Words" "Genetic Condition") ytitle(" ") name(Genetic, replace)
{res}{txt}
{com}. 
. use  "means_open_Neutral", clear
{txt}
{com}. drop if _n>1
{txt}(893 observations deleted)

{com}. order _all, sequential
{txt}
{com}. drop meanw_99-meanw_400
{txt}
{com}. rename meanw_* *
{res}{txt}
{com}. xpose, clear varname format(%6.2f)
{txt}
{com}. sum v1, det

                             {txt}v1
{hline 61}
      Percentiles      Smallest
 1%    {res} .0011223       .0011223
{txt} 5%    {res} .0011223       .0011223
{txt}10%    {res} .0011223       .0011223       {txt}Obs         {res}        561
{txt}25%    {res} .0011223       .0011223       {txt}Sum of wgt. {res}        561

{txt}50%    {res} .0011223                      {txt}Mean          {res} .0123177
                        {txt}Largest       Std. dev.     {res}  .066568
{txt}75%    {res}  .003367       .6083053
{txt}90%    {res} .0123457       .6251403       {txt}Variance      {res} .0044313
{txt}95%    {res}  .026936       .7598204       {txt}Skewness      {res} 9.661116
{txt}99%    {res} .3580247       .8619528       {txt}Kurtosis      {res}   103.91
{txt}
{com}. egen top50=pctile(v1), p(50)
{txt}
{com}. egen top25=pctile(v1), p(75)
{txt}
{com}. keep if v1>top25
{txt}(422 observations deleted)

{com}. sum

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}v1 {c |}{res}        139    .0450306    .1286372   .0044893   .8619528
{txt}{space 4}_varname {c |}{res}          0
{txt}{space 7}top50 {c |}{res}        139    .0011223           0   .0011223   .0011223
{txt}{space 7}top25 {c |}{res}        139     .003367           0    .003367    .003367
{txt}
{com}. sum v1, det

                             {txt}v1
{hline 61}
      Percentiles      Smallest
 1%    {res} .0044893       .0044893
{txt} 5%    {res} .0044893       .0044893
{txt}10%    {res} .0044893       .0044893       {txt}Obs         {res}        139
{txt}25%    {res} .0056117       .0044893       {txt}Sum of wgt. {res}        139

{txt}50%    {res} .0089787                      {txt}Mean          {res} .0450306
                        {txt}Largest       Std. dev.     {res} .1286372
{txt}75%    {res} .0224467       .6083053
{txt}90%    {res} .0650954       .6251403       {txt}Variance      {res} .0165475
{txt}95%    {res} .2289562       .7598204       {txt}Skewness      {res} 4.667233
{txt}99%    {res} .7598204       .8619528       {txt}Kurtosis      {res} 25.24346
{txt}
{com}. graph hbar v1 if v1>.02, over(_varname, sort(1) label(labsize(vsmall))) title("Top Words" "Neutral Condition") ytitle(" ") name(Neutral, replace)
{res}{txt}
{com}. 
. use  "means_open_SES", clear
{txt}
{com}. drop if _n>1
{txt}(891 observations deleted)

{com}. order _all, sequential
{txt}
{com}. drop meanw_9-meanw_99 
{txt}
{com}. rename meanw_long renamew_llong 
{res}{txt}
{com}. rename meanw_* *
{res}{txt}
{com}. xpose, clear varname format(%6.2f)
{txt}
{com}. sum v1, det

                             {txt}v1
{hline 61}
      Percentiles      Smallest
 1%    {res} .0011274       .0011274
{txt} 5%    {res} .0011274       .0011274
{txt}10%    {res} .0011274       .0011274       {txt}Obs         {res}        809
{txt}25%    {res} .0011274       .0011274       {txt}Sum of wgt. {res}        809

{txt}50%    {res} .0011274                      {txt}Mean          {res} .0105814
                        {txt}Largest       Std. dev.     {res} .0543389
{txt}75%    {res} .0045096       .5772266
{txt}90%    {res} .0135287       .6020293       {txt}Variance      {res} .0029527
{txt}95%    {res} .0259301       .6110485       {txt}Skewness      {res} 11.34533
{txt}99%    {res} .1668546       .9188275       {txt}Kurtosis      {res} 151.9435
{txt}
{com}. egen top50=pctile(v1), p(50)
{txt}
{com}. egen top25=pctile(v1), p(75)
{txt}
{com}. keep if v1>top25
{txt}(638 observations deleted)

{com}. sum

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}v1 {c |}{res}        171    .0438168    .1123462    .005637   .9188275
{txt}{space 4}_varname {c |}{res}          0
{txt}{space 7}top50 {c |}{res}        171    .0011274           0   .0011274   .0011274
{txt}{space 7}top25 {c |}{res}        171    .0045096           0   .0045096   .0045096
{txt}
{com}. sum v1, det

                             {txt}v1
{hline 61}
      Percentiles      Smallest
 1%    {res}  .005637        .005637
{txt} 5%    {res}  .005637        .005637
{txt}10%    {res}  .005637        .005637       {txt}Obs         {res}        171
{txt}25%    {res} .0078918        .005637       {txt}Sum of wgt. {res}        171

{txt}50%    {res} .0124014                      {txt}Mean          {res} .0438168
                        {txt}Largest       Std. dev.     {res} .1123462
{txt}75%    {res} .0248027       .5772266
{txt}90%    {res} .0777903       .6020293       {txt}Variance      {res} .0126217
{txt}95%    {res} .1668546       .6110485       {txt}Skewness      {res} 5.201364
{txt}99%    {res} .6110485       .9188275       {txt}Kurtosis      {res} 32.99769
{txt}
{com}. graph hbar v1 if v1>.02, over(_varname, sort(1) label(labsize(vsmall))) title("Top Words" "SES Condition") ytitle(" ") name(SES, replace)
{res}{txt}
{com}. 
. graph combine Genetic Neutral SES, ycommon col(3) imargin(tiny)
{res}{txt}
{com}. 
. //next, identify distinctive words
. //pr(mention a given word|condition)
. //what are the words where "condition" is most significant?
. //DV: prevalence of the word
. //IV: condition (dataset)
. //stack dataset so that each line represents a different condition
. 
. use  "means_open_Genetic", clear
{txt}
{com}. drop if _n>1
{txt}(878 observations deleted)

{com}. order _all, sequential
{txt}
{com}. drop meanw_2-meanw_1968
{txt}
{com}. rename meanw_long renamew_llong
{res}{txt}
{com}. rename meanw_* *
{res}{txt}
{com}. xpose, clear varname format(%6.2f)
{txt}
{com}. keep if v1>.02
{txt}(744 observations deleted)

{com}. rename v1 Genetic
{res}{txt}
{com}. rename _varname word
{res}{txt}
{com}. save "top_words_Genetic", replace
{txt}{p 0 4 2}
(file {bf}
top_words_Genetic.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
top_words_Genetic.dta{rm}
saved
{p_end}

{com}. 
. use  "means_open_Neutral", clear
{txt}
{com}. drop if _n>1
{txt}(893 observations deleted)

{com}. order _all, sequential
{txt}
{com}. drop meanw_99-meanw_400
{txt}
{com}. rename meanw_* *
{res}{txt}
{com}. xpose, clear varname format(%6.2f)
{txt}
{com}. keep if v1>.02
{txt}(519 observations deleted)

{com}. rename v1 Neutral
{res}{txt}
{com}. rename _varname word
{res}{txt}
{com}. save "top_words_Neutral", replace
{txt}{p 0 4 2}
(file {bf}
top_words_Neutral.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
top_words_Neutral.dta{rm}
saved
{p_end}

{com}. 
. use  "means_open_SES", clear
{txt}
{com}. drop if _n>1
{txt}(891 observations deleted)

{com}. order _all, sequential
{txt}
{com}. drop meanw_9-meanw_99
{txt}
{com}. rename meanw_long renamew_llong
{res}{txt}
{com}. rename meanw_* *
{res}{txt}
{com}. xpose, clear varname format(%6.2f)
{txt}
{com}. keep if v1>.02
{txt}(750 observations deleted)

{com}. rename v1 SES
{res}{txt}
{com}. rename _varname word
{res}{txt}
{com}. save "top_words_SES", replace
{txt}{p 0 4 2}
(file {bf}
top_words_SES.dta{rm}
not found)
{p_end}
{p 0 4 2}
file {bf}
top_words_SES.dta{rm}
saved
{p_end}

{com}. 
. use top_words_Genetic, clear
{txt}
{com}. merge 1:1 word using top_words_Neutral
{res}
{txt}{col 5}Result{col 33}Number of obs
{col 5}{hline 41}
{col 5}Not matched{col 30}{res}              28
{txt}{col 9}from master{col 30}{res}              15{txt}  (_merge==1)
{col 9}from using{col 30}{res}              13{txt}  (_merge==2)

{col 5}Matched{col 30}{res}              29{txt}  (_merge==3)
{col 5}{hline 41}

{com}. merge 1:1 word using top_words_SES, gen(_merge2)
{res}
{txt}{col 5}Result{col 33}Number of obs
{col 5}{hline 41}
{col 5}Not matched{col 30}{res}              38
{txt}{col 9}from master{col 30}{res}              18{txt}  (_merge2==1)
{col 9}from using{col 30}{res}              20{txt}  (_merge2==2)

{col 5}Matched{col 30}{res}              39{txt}  (_merge2==3)
{col 5}{hline 41}

{com}. 
. gen Gen_Only = .
{txt}(77 missing values generated)

{com}. replace Gen_Only =1 if Genetic>0 & Genetic<1 & Neutral==.& SES==.
{txt}(7 real changes made)

{com}. gen Neutral_Only =.
{txt}(77 missing values generated)

{com}. replace Neutral_Only =1 if Neutral>0 & Neutral<1 & Genetic==. & SES==.
{txt}(9 real changes made)

{com}. gen SES_Only =.
{txt}(77 missing values generated)

{com}. replace SES_Only =1 if SES>0 & SES<1 & Genetic==. & Neutral==.
{txt}(20 real changes made)

{com}. egen numberconditions = rownonmiss(Genetic Neutral SES)
{txt}
{com}. 
. //words that are unique to each condition 
. tab word if Gen_Only==1

                  {txt}word {c |}      Freq.     Percent        Cum.
{hline 23}{c +}{hline 35}
                  base {c |}{res}          1       14.29       14.29
{txt}                common {c |}{res}          1       14.29       28.57
{txt}               counsel {c |}{res}          1       14.29       42.86
{txt}                famili {c |}{res}          1       14.29       57.14
{txt}                  gene {c |}{res}          1       14.29       71.43
{txt}                preval {c |}{res}          1       14.29       85.71
{txt}                  test {c |}{res}          1       14.29      100.00
{txt}{hline 23}{c +}{hline 35}
                 Total {c |}{res}          7      100.00
{txt}
{com}. tab word if Neutral_Only==1

                  {txt}word {c |}      Freq.     Percent        Cum.
{hline 23}{c +}{hline 35}
                 debat {c |}{res}          1       11.11       11.11
{txt}                expert {c |}{res}          1       11.11       22.22
{txt}                  know {c |}{res}          1       11.11       33.33
{txt}            profession {c |}{res}          1       11.11       44.44
{txt}                 puzzl {c |}{res}          1       11.11       55.56
{txt}                racial {c |}{res}          1       11.11       66.67
{txt}                  read {c |}{res}          1       11.11       77.78
{txt}             scientist {c |}{res}          1       11.11       88.89
{txt}                  sure {c |}{res}          1       11.11      100.00
{txt}{hline 23}{c +}{hline 35}
                 Total {c |}{res}          9      100.00
{txt}
{com}. tab word if SES_Only==1

                  {txt}word {c |}      Freq.     Percent        Cum.
{hline 23}{c +}{hline 35}
               account {c |}{res}          1        5.00        5.00
{txt}                  come {c |}{res}          1        5.00       10.00
{txt}                condit {c |}{res}          1        5.00       15.00
{txt}           disadvantag {c |}{res}          1        5.00       20.00
{txt}                econom {c |}{res}          1        5.00       25.00
{txt}                experi {c |}{res}          1        5.00       30.00
{txt}                  face {c |}{res}          1        5.00       35.00
{txt}                   ill {c |}{res}          1        5.00       40.00
{txt}              individu {c |}{res}          1        5.00       45.00
{txt}               patient {c |}{res}          1        5.00       50.00
{txt}                person {c |}{res}          1        5.00       55.00
{txt}                 relat {c |}{res}          1        5.00       60.00
{txt}                situat {c |}{res}          1        5.00       65.00
{txt}                social {c |}{res}          1        5.00       70.00
{txt}           socioeconom {c |}{res}          1        5.00       75.00
{txt}                 statu {c |}{res}          1        5.00       80.00
{txt}                  tend {c |}{res}          1        5.00       85.00
{txt}                 think {c |}{res}          1        5.00       90.00
{txt}                 treat {c |}{res}          1        5.00       95.00
{txt}               trigger {c |}{res}          1        5.00      100.00
{txt}{hline 23}{c +}{hline 35}
                 Total {c |}{res}         20      100.00
{txt}
{com}. 
. *****cleaning up directory*****
. foreach v in SES Genetic Neutral {c -(}
{txt}  2{com}.         erase openends_`v'.dta
{txt}  3{com}.         erase cleaned_open_`v'.dta
{txt}  4{com}.         erase means_open_`v'.dta
{txt}  5{com}.         erase top_words_`v'.dta
{txt}  6{com}. {c )-}
{txt}
{com}. erase openends.dta
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\kamcd\Dropbox\CDK WORK\racial disparities essentialism\JOP replication files\Anoll Kam Marcellin Bovitz Analyses.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}10 Jan 2025, 13:40:08
{txt}{.-}
{smcl}
{txt}{sf}{ul off}